extras-buildsys/builder builder.py,1.45,1.46
Daniel Williams (dcbw)
fedora-extras-commits at redhat.com
Mon Oct 31 17:00:50 UTC 2005
Author: dcbw
Update of /cvs/fedora/extras-buildsys/builder
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5740/builder
Modified Files:
builder.py
Log Message:
2005-10-31 Dan Williams <dcbw at redhat.com>
Patch from Alexandr Kanevskiy <kad at crystalowl.net>
* builder/builder.py
- (_status_prepping): catch mock failure case earlier
Index: builder.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/builder/builder.py,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- builder.py 25 Oct 2005 04:43:45 -0000 1.45
+++ builder.py 31 Oct 2005 17:00:47 -0000 1.46
@@ -352,6 +352,10 @@
def _status_prepping(self):
self._watch_mock('failed', 'failed')
+ # Check that mock didn't failed already
+ if self._status != 'prepping':
+ return
+
# We need to make sure that mock has dumped the status file withing a certain
# amount of time, otherwise we can't tell what it's doing
mockstatusfile = os.path.join(self._state_dir, 'status')
More information about the fedora-extras-commits
mailing list