import-checker: drop set() from cyclekey()
authorMatt Mackall <mpm@selenic.com>
Fri, 27 Mar 2015 19:27:19 -0500
changeset 24489 0f6594b0a4e2
parent 24488 4b3fc46097f7
child 24490 fb4639d5268e
import-checker: drop set() from cyclekey()
contrib/import-checker.py
--- a/contrib/import-checker.py	Fri Mar 27 19:25:40 2015 -0500
+++ b/contrib/import-checker.py	Fri Mar 27 19:27:19 2015 -0500
@@ -164,7 +164,7 @@
 
 
 def cyclekey(names):
-    return tuple(sorted((names)))
+    return tuple(sorted(names))
 
 def check_one_mod(mod, imports, path=None, ignore=None):
     if path is None: