From e78b119e2a4869e175e84fe735b02c4d26a9601f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 30 Dec 2006 05:12:09 +0000 Subject: [PATCH] Fix 'TypeError: unpack non-sequence' that occurs if myparent is None. svn path=/main/trunk/; revision=5424 --- bin/emerge | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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] -- 2.26.2