extras-buildsys/utils/pushscript WhatsNew.py,1.5,1.6

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Sun May 6 15:52:35 UTC 2007


Author: mschwendt

Update of /cvs/fedora/extras-buildsys/utils/pushscript
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31047

Modified Files:
	WhatsNew.py 
Log Message:
New packages after a long review period often have only changelog entries which are more than a month old. Display latest entry in this case.


Index: WhatsNew.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/WhatsNew.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- WhatsNew.py	5 Mar 2007 17:19:03 -0000	1.5
+++ WhatsNew.py	6 May 2007 15:52:32 -0000	1.6
@@ -131,6 +131,8 @@
                 tosave.append( (clogname,clogtime,clogtext) )
             else:
                 break
+    if not len(tosave):  # changelog entries too old, get most recent one
+        tosave.append( newclog[0] )
     return formatclog(tosave)
 
 




More information about the fedora-extras-commits mailing list