From f798fc3d48328a3f1847e0207444794549e8bb49 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 24 Mar 2007 21:42:26 +0000 Subject: [PATCH] return from the merge task instead of calling sys.exit directly. svn path=/main/trunk/; revision=6275 --- pym/emerge/__init__.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index b99ff2724..495019d7c 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -2931,12 +2931,7 @@ class MergeTask(object): print "!!! Please use 'emerge --pretend' to determine blockers." if "--quiet" not in self.myopts: show_blocker_docs_link() - if "--pretend" not in self.myopts: - try: - del mtimedb["resume"] - except KeyError: - pass - sys.exit(1) + return 1 #buildsyspkg: I need mysysdict also on resume (moved from the else block) mysysdict = genericdict(getlist(self.settings, "system")) -- 2.26.2