hgext/largefiles/remotestore.py
changeset 20688 a61ed1c2d7a7
parent 19950 cce7ab960312
child 21084 70252bdfd39c
--- a/hgext/largefiles/remotestore.py	Wed Mar 12 13:29:29 2014 -0400
+++ b/hgext/largefiles/remotestore.py	Wed Mar 12 13:31:27 2014 -0400
@@ -30,7 +30,8 @@
             % (source, util.hidepassword(self.url)))
 
     def exists(self, hashes):
-        return dict((h, s == 0) for (h, s) in self._stat(hashes).iteritems())
+        return dict((h, s == 0) for (h, s) in # dict-from-generator
+                    self._stat(hashes).iteritems())
 
     def sendfile(self, filename, hash):
         self.ui.debug('remotestore: sendfile(%s, %s)\n' % (filename, hash))
@@ -97,4 +98,3 @@
     def batch(self):
         '''Support for remote batching.'''
         return remotebatch(self)
-