mock mock.py,1.27,1.28
Seth Vidal (skvidal)
fedora-extras-commits at redhat.com
Tue Aug 23 21:09:24 UTC 2005
Author: skvidal
Update of /cvs/fedora/mock
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27198
Modified Files:
mock.py
Log Message:
fix for a traceback when your hardware is failing. :)
Index: mock.py
===================================================================
RCS file: /cvs/fedora/mock/mock.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- mock.py 17 Aug 2005 05:11:13 -0000 1.27
+++ mock.py 23 Aug 2005 21:09:22 -0000 1.28
@@ -450,9 +450,10 @@
def do(self, command):
"""execute given command outside of chroot"""
+ retval = 0
self.debug("Executing %s" % command)
(status, output) = commands.getstatusoutput(command)
-
+
if os.WIFEXITED(status):
retval = os.WEXITSTATUS(status)
More information about the fedora-extras-commits
mailing list