hgext/eol.py
changeset 44452 9d2b2df2c2ba
parent 43207 4aa9f3a1c1df
child 45776 0fc8b066928a
--- a/hgext/eol.py	Fri Mar 06 10:52:44 2020 +0100
+++ b/hgext/eol.py	Fri Mar 06 13:27:41 2020 -0500
@@ -221,7 +221,7 @@
         self.match = match.match(root, b'', [], include, exclude)
 
     def copytoui(self, ui):
-        newpatterns = set(pattern for pattern, key, m in self.patterns)
+        newpatterns = {pattern for pattern, key, m in self.patterns}
         for section in (b'decode', b'encode'):
             for oldpattern, _filter in ui.configitems(section):
                 if oldpattern not in newpatterns: