Mercurial > hg
diff hgext/largefiles/basestore.py @ 16247:d87d9d8a8e03
largefiles: remove use of underscores that breaks coding convention
author | Na'Tosha Bard <natosha@unity3d.com> |
---|---|
date | Fri, 09 Mar 2012 16:11:52 +0100 |
parents | 9b072a5f8f92 |
children | 9e1616307c4c |
line wrap: on
line diff
--- 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