For consistency, remove exit code 2 (protocol incompatibility) from the other list...
authorZac Medico <zmedico@gentoo.org>
Thu, 1 Mar 2007 22:20:39 +0000 (22:20 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 1 Mar 2007 22:20:39 +0000 (22:20 -0000)
svn path=/main/trunk/; revision=6117

pym/emerge/__init__.py

index 1c2099ba50459541629098c9c4a86cd5fd0a50e4..c27ad0b9252789d7de445ac9b256b43e0f71c8f3 100644 (file)
@@ -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