diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-12-18 00:57:20 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-12-18 00:57:20 +0000 |
commit | fe213a766db489112177e128e6d0019909fcfe81 (patch) | |
tree | 1f794eaa7e3caa66795343a0bf52200dee7f25ea | |
parent | 4f723d39bf88fc33d94b2d62e80a779994ae3a51 (diff) | |
download | portage-fe213a766db489112177e128e6d0019909fcfe81.tar.gz portage-fe213a766db489112177e128e6d0019909fcfe81.tar.bz2 portage-fe213a766db489112177e128e6d0019909fcfe81.zip |
Make depclean skip empty depstrings.
svn path=/main/trunk/; revision=5313
-rwxr-xr-x | bin/emerge | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge index 2f5c35a16..5456761b5 100755 --- a/bin/emerge +++ b/bin/emerge @@ -4150,6 +4150,9 @@ def action_depclean(settings, trees, ldpath_mtimes, usedef = vardb.aux_get(pkg, ["USE"])[0].split() for depstr, priority in mydeps: + if not depstr: + continue + if "--debug" in myopts: print print "Parent: ", pkg |