[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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)
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]