summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/regenworld6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/regenworld b/bin/regenworld
index 292eac1ac..a314a98e8 100755
--- a/bin/regenworld
+++ b/bin/regenworld
@@ -92,7 +92,11 @@ for mykey in biglist:
if "--debug" in sys.argv:
print("* ignoring broken log entry for %s (likely injected)" % mykey)
except ValueError as e:
- print("* %s is an ambigous package name, candidates are:\n%s" % (mykey, e))
+ try:
+ print("* %s is an ambigous package name, candidates are:\n%s" % (mykey, e))
+ except AttributeError:
+ # FIXME: Find out what causes this (bug #344845).
+ print("* %s is an ambigous package name" % (mykey,))
continue
if mylist:
#print "mylist:",mylist