hgext/largefiles/wirestore.py
changeset 45942 89a2afe31e82
parent 43077 687b865b95ad
child 48875 6000f5b25c9b
--- a/hgext/largefiles/wirestore.py	Fri Nov 27 17:00:00 2020 -0500
+++ b/hgext/largefiles/wirestore.py	Fri Nov 27 17:03:29 2020 -0500
@@ -30,13 +30,23 @@
         return self.remote.getlfile(hash)
 
     def _stat(self, hashes):
-        '''For each hash, return 0 if it is available, other values if not.
+        """For each hash, return 0 if it is available, other values if not.
         It is usually 2 if the largefile is missing, but might be 1 the server
-        has a corrupted copy.'''
+        has a corrupted copy."""
 
         with self.remote.commandexecutor() as e:
             fs = []
             for hash in hashes:
-                fs.append((hash, e.callcommand(b'statlfile', {b'sha': hash,})))
+                fs.append(
+                    (
+                        hash,
+                        e.callcommand(
+                            b'statlfile',
+                            {
+                                b'sha': hash,
+                            },
+                        ),
+                    )
+                )
 
             return {hash: f.result() for hash, f in fs}