From: Zac Medico Date: Fri, 30 Jun 2006 02:39:42 +0000 (-0000) Subject: Remove a pointless "if" statement. X-Git-Tag: v2.1.1~341 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=22a116c95b3ac554c88a9d1b6776cbcdac289f46;p=portage.git Remove a pointless "if" statement. svn path=/main/trunk/; revision=3702 --- diff --git a/bin/emerge b/bin/emerge index d176bbbcf..3e3d556ed 100755 --- a/bin/emerge +++ b/bin/emerge @@ -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):