hgext/uncommit.py
changeset 42057 566daffc607d
parent 42051 f4147ca63d39
child 42902 ff1ff2aae132
--- a/hgext/uncommit.py	Wed Jul 19 13:17:49 2017 -0700
+++ b/hgext/uncommit.py	Wed Apr 03 11:21:27 2019 -0700
@@ -147,7 +147,7 @@
             # if not everything tracked in that directory can be
             # uncommitted.
             if badfiles:
-                badfiles -= set([f for f in util.dirs(eligible)])
+                badfiles -= {f for f in util.dirs(eligible)}
 
             for f in sorted(badfiles):
                 if f in s.clean: