Removed unnecessary call to dict.keys.
authorMartin Geisler <mg@lazybytes.net>
Wed, 06 May 2009 23:35:20 +0200
changeset 8301 b0ce2595777b
parent 8300 947cb53dbeed
child 8302 d2ad8c066676
Removed unnecessary call to dict.keys.
hgext/gpg.py
--- a/hgext/gpg.py	Wed May 06 20:30:46 2009 +0300
+++ b/hgext/gpg.py	Wed May 06 23:35:20 2009 +0200
@@ -152,7 +152,7 @@
             continue
         revs.setdefault(r, [])
         revs[r].extend(keys)
-    for rev in reversed(sorted(revs.keys())):
+    for rev in reversed(sorted(revs)):
         for k in revs[rev]:
             r = "%5d:%s" % (rev, hgnode.hex(repo.changelog.node(rev)))
             ui.write("%-30s %s\n" % (keystr(ui, k), r))