From: Zac Medico Date: Sat, 30 Dec 2006 05:12:09 +0000 (-0000) Subject: Fix 'TypeError: unpack non-sequence' that occurs if myparent is None. X-Git-Tag: v2.1.2~188 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e78b119e2a4869e175e84fe735b02c4d26a9601f;p=portage.git Fix 'TypeError: unpack non-sequence' that occurs if myparent is None. svn path=/main/trunk/; revision=5424 --- diff --git a/bin/emerge b/bin/emerge index 0666d2a1d..4865b2ce3 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1531,7 +1531,10 @@ class depgraph: portage_dep._dep_check_strict = True if not mycheck[0]: - show_invalid_depstring_notice(myparent, depstring, mycheck[1]) + if myparent: + show_invalid_depstring_notice(myparent, depstring, mycheck[1]) + else: + sys.stderr.write("\n%s\n%s\n" % (depstring, mycheck[1])) return 0 mymerge = mycheck[1]