Make depclean skip empty depstrings.
authorZac Medico <zmedico@gentoo.org>
Mon, 18 Dec 2006 00:57:20 +0000 (00:57 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 18 Dec 2006 00:57:20 +0000 (00:57 -0000)
svn path=/main/trunk/; revision=5313

bin/emerge

index 2f5c35a1670a44cc0e2f3c46e80edc6fe3918903..5456761b5df759d30d787f65a1b4a1dfddda83ca 100755 (executable)
@@ -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