--- a/hgext/largefiles/basestore.py Fri Mar 09 15:26:13 2012 +0100
+++ b/hgext/largefiles/basestore.py Fri Mar 09 16:11:52 2012 +0100
@@ -114,14 +114,14 @@
failed = util.any(self._verifyfile(
cctx, cset, contents, standin, verified) for standin in cctx)
- num_revs = len(verified)
- num_lfiles = len(set([fname for (fname, fnode) in verified]))
+ numrevs = len(verified)
+ numlfiles = len(set([fname for (fname, fnode) in verified]))
if contents:
write(_('verified contents of %d revisions of %d largefiles\n')
- % (num_revs, num_lfiles))
+ % (numrevs, numlfiles))
else:
write(_('verified existence of %d revisions of %d largefiles\n')
- % (num_revs, num_lfiles))
+ % (numrevs, numlfiles))
return int(failed)
@@ -186,9 +186,9 @@
except KeyError:
raise util.Abort(_('unsupported URL scheme %r') % scheme)
- for class_obj in storeproviders:
+ for classobj in storeproviders:
try:
- return class_obj(ui, repo, remote)
+ return classobj(ui, repo, remote)
except lfutil.storeprotonotcapable:
pass