hgext/largefiles/basestore.py
changeset 42057 566daffc607d
parent 39417 a65ad9b22a00
child 43076 2372284d9457
--- a/hgext/largefiles/basestore.py	Wed Jul 19 13:17:49 2017 -0700
+++ b/hgext/largefiles/basestore.py	Wed Apr 03 11:21:27 2019 -0700
@@ -136,7 +136,7 @@
         failed = self._verifyfiles(contents, filestocheck)
 
         numrevs = len(verified)
-        numlfiles = len(set([fname for (fname, fnode) in verified]))
+        numlfiles = len({fname for (fname, fnode) in verified})
         if contents:
             self.ui.status(
                 _('verified contents of %d revisions of %d largefiles\n')