[Popcon-commits] cvs commit to popularity-contest by ballombe

popcon-commits@lists.alioth.debian.org popcon-commits@lists.alioth.debian.org
Fri, 18 Jun 2004 16:33:01 -0600


Update of /cvsroot/popcon/popularity-contest
In directory haydn:/tmp/cvs-serv25541

Modified Files:
	popanal.py 
Log Message:
Use bogus to denote empty DEBVER field to keep a consistant format.


Index: popanal.py
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/popanal.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- popanal.py	14 May 2004 10:07:35 -0000	1.9
+++ popanal.py	18 Jun 2004 22:32:58 -0000	1.10
@@ -200,7 +200,10 @@
 	    e = Submission(0, header['ID'], header['TIME'])
 
             if header.has_key('POPCONVER'):
-	        e.release = header['POPCONVER']
+		if header['ARCH']=='':
+	            e.release = 'bogus'
+                else:
+	            e.release = header['POPCONVER']
 	
             if header.has_key('ARCH'):
 	    	if header['ARCH']=='x86_64':