summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2008-09-29 06:51:48 +0000
committerwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2008-09-29 06:51:48 +0000
commit12249fe06c6495eac3290e61507e0c97fbdbec7a (patch)
tree701fdfa19ab299160263ee488600392e6326b08b
parent0df938c89818bb8a0a85e4db93e5d6c42108a271 (diff)
downloadpyfilesystem-12249fe06c6495eac3290e61507e0c97fbdbec7a.tar.gz
Stupid bug, replaces an except clause with a finally clause...
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@107 67cdc799-7952-0410-af00-57a81ceafa0f
-rw-r--r--fs/zipfs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/zipfs.py b/fs/zipfs.py
index 0490ffb..b3f4d8d 100644
--- a/fs/zipfs.py
+++ b/fs/zipfs.py
@@ -171,7 +171,7 @@ class ZipFS(FS):
try:
sys_path = self.temp_fs.getsyspath(filename)
self.zf.write(sys_path, filename)
- except:
+ finally:
self._lock.release()
def desc(self, path):