From b759b843bf01e80df2d1b36326c5bfd15299d7d5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 1 Mar 2007 23:31:46 +0000 Subject: Fix the rest of the broken except statement syntax. (trunk r6120:6121) svn path=/main/branches/2.1.2/; revision=6122 --- pym/cache/fs_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/cache/fs_template.py') 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 -- cgit v1.2.3-1-g7c22