Remove a pointless "if" statement.
authorZac Medico <zmedico@gentoo.org>
Fri, 30 Jun 2006 02:39:42 +0000 (02:39 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 30 Jun 2006 02:39:42 +0000 (02:39 -0000)
svn path=/main/trunk/; revision=3702

bin/emerge

index d176bbbcf5c9b192449482d51ab58aada08ca5c5..3e3d556ed007f005cf4d4778c8ad59790b2f2657 100755 (executable)
@@ -2356,10 +2356,7 @@ def unmerge(settings, myopts, vartree, unmerge_action, unmerge_files,
        portage.env_update(
                target_root=settings["ROOT"],
                prev_mtimes=ldpath_mtimes)
-       if not numselected:
-               return 0
-       else:
-               return 1
+       return 1
 
 
 def chk_updated_info_files(root, infodirs, prev_mtimes, retval):