diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-12-30 05:12:09 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-12-30 05:12:09 +0000 |
commit | e78b119e2a4869e175e84fe735b02c4d26a9601f (patch) | |
tree | ad3fada018ed4f2cafc3ca4bee1384a3238cc0ce | |
parent | 4ac5c1390060c06cfdae03a90eb0cce2a99738e6 (diff) | |
download | portage-e78b119e2a4869e175e84fe735b02c4d26a9601f.tar.gz portage-e78b119e2a4869e175e84fe735b02c4d26a9601f.tar.bz2 portage-e78b119e2a4869e175e84fe735b02c4d26a9601f.zip |
Fix 'TypeError: unpack non-sequence' that occurs if myparent is None.
svn path=/main/trunk/; revision=5424
-rwxr-xr-x | bin/emerge | 5 |
1 files changed, 4 insertions, 1 deletions
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] |