mercurial/win32.py
changeset 11304 8c377f2feee1
parent 11012 81631f0cf13b
child 11991 50523b4407f6
--- a/mercurial/win32.py	Mon Jun 07 20:03:32 2010 +0200
+++ b/mercurial/win32.py	Tue Jun 08 09:30:33 2010 +0200
@@ -32,7 +32,7 @@
                 pass
             # Fake hardlinking error
             raise OSError(errno.EINVAL, 'Hardlinking not supported')
-    except pywintypes.error, details:
+    except pywintypes.error:
         raise OSError(errno.EINVAL, 'target implements hardlinks improperly')
     except NotImplementedError: # Another fake error win Win98
         raise OSError(errno.EINVAL, 'Hardlinking not supported')