##// END OF EJS Templates
cleanups: unused variables
Dirkjan Ochtman -
r11304:8c377f2f default
parent child Browse files
Show More
@@ -288,7 +288,6 b' def contains(repo, subset, x):'
288 continue
288 continue
289 else:
289 else:
290 for r in subset:
290 for r in subset:
291 c = repo[r]
292 for f in repo[r].manifest():
291 for f in repo[r].manifest():
293 if m(f):
292 if m(f):
294 s.append(r)
293 s.append(r)
@@ -32,7 +32,7 b' def os_link(src, dst):'
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')
General Comments 0
You need to be logged in to leave comments. Login now