diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-11-12 20:09:30 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-11-12 20:09:30 -0800 |
commit | e0a813c3a515f51fd8502a291ef9d2ee47d588c1 (patch) | |
tree | bdfecaec6bc65d8318558027c24a905d7048102e | |
parent | d8c50cf6e6541cb5307691dc8ebb9d64f15c8aa8 (diff) | |
download | portage-e0a813c3a515f51fd8502a291ef9d2ee47d588c1.tar.gz portage-e0a813c3a515f51fd8502a291ef9d2ee47d588c1.tar.bz2 portage-e0a813c3a515f51fd8502a291ef9d2ee47d588c1.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 |