diff tests/test-hgweb-auth.py @ 34023:ba479850c9c7

python3: replace sorted(<dict>.iterkeys()) with sorted(<dict>)
author Augie Fackler <raf@durin42.com>
date Tue, 22 Aug 2017 20:06:58 -0400
parents d83ca854fa21
children 58c1368ab629
line wrap: on
line diff
--- a/tests/test-hgweb-auth.py	Tue Aug 22 20:03:07 2017 -0400
+++ b/tests/test-hgweb-auth.py	Tue Aug 22 20:06:58 2017 -0400
@@ -25,7 +25,7 @@
 
 def dumpdict(dict):
     return '{' + ', '.join(['%s: %s' % (k, dict[k])
-                            for k in sorted(dict.iterkeys())]) + '}'
+                            for k in sorted(dict)]) + '}'
 
 def test(auth, urls=None):
     print('CFG:', dumpdict(auth))