extras-buildsys/common Commands.py,1.2,1.3
Daniel Williams (dcbw)
fedora-extras-commits at redhat.com
Fri May 5 02:10:41 UTC 2006
Author: dcbw
Update of /cvs/fedora/extras-buildsys/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18128/common
Modified Files:
Commands.py
Log Message:
Clean up a few more bugs
Index: Commands.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/common/Commands.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Commands.py 3 May 2006 04:04:28 -0000 1.2
+++ Commands.py 5 May 2006 02:10:39 -0000 1.3
@@ -127,6 +127,10 @@
cmd = PlgCommandNewJobAck._deserialize(args)
elif name == CMD_NAME_BUILDING_JOBS:
cmd = PlgCommandBuildingJobs._deserialize(args)
+ elif name == CMD_NAME_JOB_STATUS_REQ:
+ cmd = PlgCommandJobStatus._deserialize(args)
+ elif name == CMD_NAME_JOB_STATUS_ACK:
+ cmd = PlgCommandJobStatusAck._deserialize(args)
# If command creation was successful, set the sequence
# number from the command stream on the command. We don't
@@ -472,7 +476,7 @@
except KeyError, TypeError:
raise ValueError("No 'archjob_id' argument found.")
- return PlgCommandJobStatusReq(archjob_id)
+ return PlgCommandJobStatus(archjob_id)
_deserialize = staticmethod(_deserialize)
@@ -485,7 +489,7 @@
return self._archjob_id
def __str__(self):
- return "%s(seq: %d, target_dict: %s, srpm_url: %s)" % (self._name, self._seq, self._archjob_id)
+ return "%s(seq: %d, archjob_id: %s)" % (self._name, self._seq, self._archjob_id)
class PlgCommandJobStatusAck(PlgCommandAck):
More information about the fedora-extras-commits
mailing list