extras-repoclosure rc-report.py,1.1,1.2
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Tue May 16 00:23:18 UTC 2006
Author: mschwendt
Update of /cvs/fedora/extras-repoclosure
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv657
Modified Files:
rc-report.py
Log Message:
Include reports for packages with owners missing in owners.list
Index: rc-report.py
===================================================================
RCS file: /cvs/fedora/extras-repoclosure/rc-report.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- rc-report.py 30 Apr 2006 11:11:51 -0000 1.1
+++ rc-report.py 16 May 2006 00:23:15 -0000 1.2
@@ -268,10 +268,9 @@
ownedby = owners.GetOwner(name)
if ownedby == '':
+ ownedby = 'UNKNOWN OWNER'
x = 'ERROR: %s not in owners.list\nERROR: source rpm is %s' % ( name, srcrpm )
- summail += x + '\n'
- inbody = False
- continue
+ summail += x + '\n\n'
# name EVR.arch
summary.append ( ' '.join( ['\t', w[1], ' ', w[3], repoid] ) )
repoids[repoid] = 1
@@ -323,7 +322,7 @@
mailtext = 'This is an automated mail created by an experimental script.\nYour following packages in the repository contain broken dependencies:\n\n'
mailtext += body
- if domail:
+ if domail and toaddr != 'UNKNOWN OWNER':
mailsplit( srv, fromaddr, toaddr, replytoaddr, subject, mailtext )
if len(oldproblems):
More information about the scm-commits
mailing list