summaryrefslogtreecommitdiffstats
path: root/pym/cache
diff options
context:
space:
mode:
Diffstat (limited to 'pym/cache')
-rw-r--r--pym/cache/fs_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/cache/fs_template.py b/pym/cache/fs_template.py
index b76e98bd3..9741ecbcc 100644
--- a/pym/cache/fs_template.py
+++ b/pym/cache/fs_template.py
@@ -39,7 +39,7 @@ class FsBased(template.database):
if mtime:
mtime=long(mtime)
os.utime(path, (mtime, mtime))
- except OSError, IOError:
+ except (OSError, IOError):
return False
return True