summaryrefslogtreecommitdiffstats
path: root/fb
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2009-08-31 16:23:32 +0200
committerFlorian Pritz <bluewind@xssn.at>2009-08-31 16:23:32 +0200
commit8b8ac4d79bbff582d0d79eea41e64307edc7c88f (patch)
treeab2ceb3b87664f9dd2ee88116d0b1322bae91fa6 /fb
parente7c747fd21c5bff7451b3f47c0f8a1322ea17b66 (diff)
downloadbin-8b8ac4d79bbff582d0d79eea41e64307edc7c88f.tar.gz
bin-8b8ac4d79bbff582d0d79eea41e64307edc7c88f.tar.xz
fb: workaround for os.rmdir() bug
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'fb')
-rwxr-xr-xfb4
1 files changed, 3 insertions, 1 deletions
diff --git a/fb b/fb
index e291ca3..d57a4d3 100755
--- a/fb
+++ b/fb
@@ -116,7 +116,9 @@ def main():
for file in os.listdir(path):
os.remove(path+'/'+file)
# FIXME: causes getcwd error
- os.rmdir(path)
+ #os.rmdir(path)
+ # for some reason this works better
+ Popen(['rmdir', path])
if __name__ == '__main__':
main()