mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
cleanups: unused variables
This commit is contained in:
parent
af6b696f0f
commit
cb25b6f79d
@ -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)
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user