summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-11-12 20:09:30 -0800
committerZac Medico <zmedico@gentoo.org>2010-11-23 18:01:35 -0800
commitffd1c704bdcd8a51eb62f12a02ffbd26fc0da13c (patch)
tree9d8035ff4c50fdecc0a9c0ae900ec1c3d7e27cc7 /bin
parent98395243a3d061a189a4cb66b169195c4465e2d0 (diff)
downloadportage-ffd1c704bdcd8a51eb62f12a02ffbd26fc0da13c.tar.gz
portage-ffd1c704bdcd8a51eb62f12a02ffbd26fc0da13c.tar.bz2
portage-ffd1c704bdcd8a51eb62f12a02ffbd26fc0da13c.zip
Use a temporary workaround for bug #344845.
Diffstat (limited to 'bin')
-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