From: Michał Górny Date: Fri, 27 Aug 2010 15:16:57 +0000 (+0200) Subject: repoman: Fix NameError on musedict when metadata is not available. X-Git-Tag: v2.2_rc70~28 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=58d259d79a2d15a1dff1a90ff066615318b35917;p=portage.git repoman: Fix NameError on musedict when metadata is not available. --- diff --git a/bin/repoman b/bin/repoman index bf40d896c..0f8d8376b 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1340,6 +1340,7 @@ for x in scanlist: stats["changelog.missing"]+=1 fails["changelog.missing"].append(x+"/ChangeLog") + musedict = {} #metadata.xml file check if "metadata.xml" not in checkdirlist: stats["metadata.missing"]+=1 @@ -1367,7 +1368,6 @@ for x in scanlist: metadata_bad = True stats["metadata.bad"] += 1 fails["metadata.bad"].append("%s/metadata.xml: %s" % (x, e)) - musedict = {} # Run other metadata.xml checkers try: