summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Górny <gentoo@mgorny.alt.pl>2010-08-27 17:16:57 +0200
committerZac Medico <zmedico@gentoo.org>2010-08-27 08:18:56 -0700
commit58d259d79a2d15a1dff1a90ff066615318b35917 (patch)
tree57dcbf3e643214e7b30751fd6371106ce12898c9
parent365e9a71e5dff59be90f4ca16eefb245031c1e7f (diff)
downloadportage-58d259d79a2d15a1dff1a90ff066615318b35917.tar.gz
portage-58d259d79a2d15a1dff1a90ff066615318b35917.tar.bz2
portage-58d259d79a2d15a1dff1a90ff066615318b35917.zip
repoman: Fix NameError on musedict when metadata is not available.
-rwxr-xr-xbin/repoman2
1 files changed, 1 insertions, 1 deletions
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: