|
From: <di...@us...> - 2009-05-01 06:43:02
|
Revision: 653
http://safekeep.svn.sourceforge.net/safekeep/?rev=653&view=rev
Author: dimi
Date: 2009-05-01 06:42:53 +0000 (Fri, 01 May 2009)
Log Message:
-----------
Deh, we have to accept 1 as a status too
Modified Paths:
--------------
safekeep/trunk/safekeep
Modified: safekeep/trunk/safekeep
===================================================================
--- safekeep/trunk/safekeep 2009-05-01 06:39:27 UTC (rev 652)
+++ safekeep/trunk/safekeep 2009-05-01 06:42:53 UTC (rev 653)
@@ -129,7 +129,7 @@
proc.fromchild.close()
rc = proc.wait()
- return os.WIFEXITED(rc) and os.WEXITSTATUS(rc) == 0
+ return os.WIFEXITED(rc) and os.WEXITSTATUS(rc) in (0,1)
def spawn(args):
if isinstance(args, str) or isinstance(args, unicode):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|