From: Zac Medico Date: Sat, 13 Nov 2010 04:09:30 +0000 (-0800) Subject: Use a temporary workaround for bug #344845. X-Git-Tag: v2.1.9.25~39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ffd1c704bdcd8a51eb62f12a02ffbd26fc0da13c;p=portage.git Use a temporary workaround for bug #344845. --- 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