From: Zac Medico Date: Fri, 18 Feb 2011 16:44:31 +0000 (-0800) Subject: emerge: fix --sync cvs error message X-Git-Tag: v2.2.0_alpha25~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c5643d73d1db4d40207d68993811d4d193089a57;p=portage.git emerge: fix --sync cvs error message --- diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 5aa4f24ab..08a92d677 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2400,9 +2400,9 @@ def action_sync(settings, trees, mtimedb, myopts, myaction): retval = portage.process.spawn_bash( "cd %s; exec cvs -z0 -q update -dP" % \ (portage._shell_quote(myportdir),), **spawn_kwargs) - writemsg_level("!!! cvs update error; exiting.\n", - noiselevel=-1, level=logging.ERROR) if retval != os.EX_OK: + writemsg_level("!!! cvs update error; exiting.\n", + noiselevel=-1, level=logging.ERROR) sys.exit(retval) dosyncuri = syncuri else: