Mercurial > public > mercurial-scm > hg
comparison mercurial/win32.py @ 11304:8c377f2feee1
cleanups: unused variables
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Tue, 08 Jun 2010 09:30:33 +0200 |
parents | 81631f0cf13b |
children | 50523b4407f6 |
comparison
equal
deleted
inserted
replaced
11303:a1aad8333864 | 11304:8c377f2feee1 |
---|---|
30 win32file.DeleteFile(dst) | 30 win32file.DeleteFile(dst) |
31 except: | 31 except: |
32 pass | 32 pass |
33 # Fake hardlinking error | 33 # Fake hardlinking error |
34 raise OSError(errno.EINVAL, 'Hardlinking not supported') | 34 raise OSError(errno.EINVAL, 'Hardlinking not supported') |
35 except pywintypes.error, details: | 35 except pywintypes.error: |
36 raise OSError(errno.EINVAL, 'target implements hardlinks improperly') | 36 raise OSError(errno.EINVAL, 'target implements hardlinks improperly') |
37 except NotImplementedError: # Another fake error win Win98 | 37 except NotImplementedError: # Another fake error win Win98 |
38 raise OSError(errno.EINVAL, 'Hardlinking not supported') | 38 raise OSError(errno.EINVAL, 'Hardlinking not supported') |
39 | 39 |
40 def _getfileinfo(pathname): | 40 def _getfileinfo(pathname): |