diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-11-12 20:09:30 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-11-23 18:01:35 -0800 |
commit | ffd1c704bdcd8a51eb62f12a02ffbd26fc0da13c (patch) | |
tree | 9d8035ff4c50fdecc0a9c0ae900ec1c3d7e27cc7 | |
parent | 98395243a3d061a189a4cb66b169195c4465e2d0 (diff) | |
download | portage-ffd1c704bdcd8a51eb62f12a02ffbd26fc0da13c.tar.gz portage-ffd1c704bdcd8a51eb62f12a02ffbd26fc0da13c.tar.bz2 portage-ffd1c704bdcd8a51eb62f12a02ffbd26fc0da13c.zip |
Use a temporary workaround for bug #344845.
-rwxr-xr-x | bin/regenworld | 6 |
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 |