[Secure-testing-commits] r32715 - bin

Holger Levsen holger at moszumanska.debian.org
Mon Mar 9 17:06:00 UTC 2015


Author: holger
Date: 2015-03-09 17:05:59 +0000 (Mon, 09 Mar 2015)
New Revision: 32715

Modified:
   bin/tracker_service.py
Log:
json: don't include range if there's no value

Modified: bin/tracker_service.py
===================================================================
--- bin/tracker_service.py	2015-03-09 17:05:58 UTC (rev 32714)
+++ bin/tracker_service.py	2015-03-09 17:05:59 UTC (rev 32715)
@@ -1329,7 +1329,8 @@
                 if debianbugs[pkg][issue] != None:
                     data.append('        "debian bug": '+str(debianbugs[pkg][issue])+',\n')
                 if str(remote[pkg][issue]) == 'None':
-                    data.append('        "range": null,\n')
+                    pass
+                    #data.append('        "range": null,\n')
                 elif remote[pkg][issue] == 1:
                     data.append('        "range": "remote",\n')
                 else:




More information about the Secure-testing-commits mailing list