summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-06-30 02:39:42 +0000
committerZac Medico <zmedico@gentoo.org>2006-06-30 02:39:42 +0000
commit22a116c95b3ac554c88a9d1b6776cbcdac289f46 (patch)
tree2fe22bfd3a42399aaae1c1287f83e7978e011de1
parent7c997294d088818ede4153c728153b92f8c07d90 (diff)
downloadportage-22a116c95b3ac554c88a9d1b6776cbcdac289f46.tar.gz
portage-22a116c95b3ac554c88a9d1b6776cbcdac289f46.tar.bz2
portage-22a116c95b3ac554c88a9d1b6776cbcdac289f46.zip
Remove a pointless "if" statement.
svn path=/main/trunk/; revision=3702
-rwxr-xr-xbin/emerge5
1 files changed, 1 insertions, 4 deletions
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):