summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-03-01 22:20:39 +0000
committerZac Medico <zmedico@gentoo.org>2007-03-01 22:20:39 +0000
commit345d2666e0e7b3a050257d91aafb4c2719344d2a (patch)
tree9789ea8efb5b4631c15bb46cf68f97af176a1d57
parentf43b3b289ca47993cd2038dbcf816c8772ce16c5 (diff)
downloadportage-345d2666e0e7b3a050257d91aafb4c2719344d2a.tar.gz
portage-345d2666e0e7b3a050257d91aafb4c2719344d2a.tar.bz2
portage-345d2666e0e7b3a050257d91aafb4c2719344d2a.zip
For consistency, remove exit code 2 (protocol incompatibility) from the other list of rsync exit codes.
svn path=/main/trunk/; revision=6117
-rw-r--r--pym/emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
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