Use dict.__iter__() instead of keys().
authorZac Medico <zmedico@gentoo.org>
Fri, 27 Aug 2010 01:46:38 +0000 (18:46 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 27 Aug 2010 01:46:38 +0000 (18:46 -0700)
bin/repoman

index 55fdce21235ad59734d25a4a42e90c5e00e59666..953a4912fe1ab6f190336853491e71c5713f5ada 100755 (executable)
@@ -1392,7 +1392,7 @@ for x in scanlist:
                                fails["metadata.bad"].append(x+"/metadata.xml")
 
                del metadata_bad
-       muselist = frozenset(musedict.keys())
+       muselist = frozenset(musedict)
 
        changelog_path = os.path.join(checkdir_relative, "ChangeLog")
        changelog_modified = changelog_path in modified_changelogs