extras-buildsys/client client.py,1.10,1.11
Daniel Williams (dcbw)
fedora-extras-commits at redhat.com
Sun Jul 10 04:33:27 UTC 2005
- Previous message (by thread): extras-buildsys/server Builder.py, 1.3, 1.4 User.py, 1.3, 1.4 UserInterface.py, 1.16, 1.17 main.py, 1.4, 1.5
- Next message (by thread): extras-buildsys/server UserInterface.py,1.17,1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dcbw
Update of /cvs/fedora/extras-buildsys/client
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20570/client
Modified Files:
client.py
Log Message:
Ignore IOErrors when printing jobs
Index: client.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/client/client.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- client.py 10 Jul 2005 03:44:36 -0000 1.10
+++ client.py 10 Jul 2005 04:33:25 -0000 1.11
@@ -110,11 +110,14 @@
print "No jobs found that match the search criteria."
else:
for job in jobs:
- print job
- for archjob in archjobs:
- if archjob[1] == job[0]:
- print "\t%s(%s): %s %s/%s" % (archjob[5], archjob[4], archjob[0], archjob[6], archjob[7])
- print ''
+ try:
+ print job
+ for archjob in archjobs:
+ if archjob[1] == job[0]:
+ print "\t%s(%s): %s %s/%s" % (archjob[5], archjob[4], archjob[0], archjob[6], archjob[7])
+ print ''
+ except IOError:
+ pass
def kill(server, email, jobid):
- Previous message (by thread): extras-buildsys/server Builder.py, 1.3, 1.4 User.py, 1.3, 1.4 UserInterface.py, 1.16, 1.17 main.py, 1.4, 1.5
- Next message (by thread): extras-buildsys/server UserInterface.py,1.17,1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list