extras-repoclosure PackageOwners.py,1.21,1.22
Michael Schwendt
mschwendt at fedoraproject.org
Fri Dec 26 14:54:08 UTC 2008
- Previous message (by thread): rpms/python-Coherence/EL-5 .cvsignore, 1.2, 1.3 python-Coherence.spec, 1.1, 1.2 sources, 1.2, 1.3
- Next message (by thread): rpms/ssmtp/devel ssmtp-aliases.patch,NONE,1.1 ssmtp.spec,1.19,1.20
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/fedora/extras-repoclosure
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11708
Modified Files:
PackageOwners.py
Log Message:
throw exception if owners.list is empty - todo: prevent FAS2 errors earlier?
Index: PackageOwners.py
===================================================================
RCS file: /cvs/fedora/extras-repoclosure/PackageOwners.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- PackageOwners.py 23 Oct 2008 22:48:08 -0000 1.21
+++ PackageOwners.py 26 Dec 2008 14:54:07 -0000 1.22
@@ -151,10 +151,14 @@
'mailto' : mailto,
'cc' : addrs
}
- except:
+ except (IndexError, ValueError):
print 'ERROR: owners.list is broken'
print line
-
+ if not len( self.dict.keys() ):
+ # TODO: has happened once with FAS2
+ # 503 service unavailable? catch this elsewhere
+ print 'ERROR: no owners'
+ raise Exception
def _downloadfromcvs(self):
self._enterworkdir()
- Previous message (by thread): rpms/python-Coherence/EL-5 .cvsignore, 1.2, 1.3 python-Coherence.spec, 1.1, 1.2 sources, 1.2, 1.3
- Next message (by thread): rpms/ssmtp/devel ssmtp-aliases.patch,NONE,1.1 ssmtp.spec,1.19,1.20
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list