From: Zac Medico Date: Fri, 18 Feb 2011 16:44:31 +0000 (-0800) Subject: emerge: fix --sync cvs error message X-Git-Tag: v2.1.9.41~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9fc5c27af699de5d5f5ded2b51a5e73c99e983ac;p=portage.git emerge: fix --sync cvs error message --- diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index e8a38ad12..eece67139 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2379,9 +2379,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: