cleanups: unused variables

This commit is contained in:
Dirkjan Ochtman 2010-06-08 09:30:33 +02:00
parent af6b696f0f
commit cb25b6f79d
2 changed files with 1 additions and 2 deletions

View File

@ -288,7 +288,6 @@ def contains(repo, subset, x):
continue
else:
for r in subset:
c = repo[r]
for f in repo[r].manifest():
if m(f):
s.append(r)

View File

@ -32,7 +32,7 @@ def os_link(src, dst):
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')