extras-buildsys/utils/pushscript WhatsNew.py,1.9,1.10

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Wed Apr 16 21:32:37 UTC 2008


Author: mschwendt

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

Modified Files:
	WhatsNew.py 
Log Message:
thl's traceback smells like one rpm has no changelog


Index: WhatsNew.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/WhatsNew.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- WhatsNew.py	10 Sep 2007 23:01:01 -0000	1.9
+++ WhatsNew.py	16 Apr 2008 21:32:37 -0000	1.10
@@ -194,7 +194,7 @@
                 tosave.append( (clogname,clogtime,clogtext) )
             else:
                 break
-    if not len(tosave):  # changelog entries too old, get most recent one
+    if not len(tosave) and len(newclog):  # changelog entries too old, get most recent one
         tosave.append( newclog[0] )
     return formatclog(tosave)
 




More information about the fedora-extras-commits mailing list