remotefilelog: reduce use of "count" container
We had already given the initial value of "count[0]" a name, so just
use that when applicable.
Differential Revision: https://phab.mercurial-scm.org/D5385
--- a/hgext/remotefilelog/fileserverclient.py Tue Dec 04 22:12:47 2018 -0800
+++ b/hgext/remotefilelog/fileserverclient.py Tue Dec 04 22:15:42 2018 -0800
@@ -361,9 +361,9 @@
fromcache = total - len(missed)
count = [fromcache]
- progress.update(count[0], total=total)
+ progress.update(fromcache, total=total)
self.ui.log("remotefilelog", "remote cache hit rate is %r of %r\n",
- count[0], total, hit=count[0], total=total)
+ fromcache, total, hit=fromcache, total=total)
oldumask = os.umask(0o002)
try: