Author: dcbw
Update of /cvs/fedora/extras-buildsys/builder
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7220/builder
Modified Files:
Tag: STABLE_0_4
builder.py
Log Message:
2005-10-31 Dan Williams <dcbw(a)redhat.com>
Patch from Alexandr Kanevskiy <kad(a)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.44.2.1
retrieving revision 1.44.2.2
diff -u -r1.44.2.1 -r1.44.2.2
--- builder.py 25 Oct 2005 04:48:27 -0000 1.44.2.1
+++ builder.py 31 Oct 2005 17:02:16 -0000 1.44.2.2
@@ -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')
Show replies by date