mercurial/windows.py
changeset 12063 516b000fbb7e
parent 11138 99eee847beaa
child 12689 c52c629ce19e
--- a/mercurial/windows.py	Fri Aug 27 13:32:38 2010 -0400
+++ b/mercurial/windows.py	Fri Aug 27 13:32:40 2010 -0400
@@ -288,7 +288,7 @@
     '''atomically rename file src to dst, replacing dst if it exists'''
     try:
         os.rename(src, dst)
-    except OSError, err: # FIXME: check err (EEXIST ?)
+    except OSError: # FIXME: check err (EEXIST ?)
 
         # On windows, rename to existing file is not allowed, so we
         # must delete destination first. But if a file is open, unlink