From 345d2666e0e7b3a050257d91aafb4c2719344d2a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 1 Mar 2007 22:20:39 +0000 Subject: [PATCH] For consistency, remove exit code 2 (protocol incompatibility) from the other list of rsync exit codes. svn path=/main/trunk/; revision=6117 --- pym/emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 1c2099ba5..c27ad0b92 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -4063,7 +4063,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction): mycommand = mycommand.split() exitcode = portage.process.spawn(mycommand, env=settings.environ()) - if exitcode in [0,1,2,3,4,11,14,20,21]: + if exitcode in [0,1,3,4,11,14,20,21]: break elif exitcode in [1,3,4,11,14,20,21]: break -- 2.26.2