From 9fc5c27af699de5d5f5ded2b51a5e73c99e983ac Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 18 Feb 2011 08:44:31 -0800 Subject: [PATCH] emerge: fix --sync cvs error message --- pym/_emerge/actions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.26.2