incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robw...@apache.org
Subject svn commit: r1395568 - /incubator/ooo/devtools/aoo-stats/get-aoo-stats.py
Date Mon, 08 Oct 2012 13:56:11 GMT
Author: robweir
Date: Mon Oct  8 13:56:11 2012
New Revision: 1395568

URL: http://svn.apache.org/viewvc?rev=1395568&view=rev
Log:
Added printout of the "stats updated" time, which is the timestamp (UTC) of the last update
of the underlying data.

Modified:
    incubator/ooo/devtools/aoo-stats/get-aoo-stats.py

Modified: incubator/ooo/devtools/aoo-stats/get-aoo-stats.py
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/aoo-stats/get-aoo-stats.py?rev=1395568&r1=1395567&r2=1395568&view=diff
==============================================================================
--- incubator/ooo/devtools/aoo-stats/get-aoo-stats.py (original)
+++ incubator/ooo/devtools/aoo-stats/get-aoo-stats.py Mon Oct  8 13:56:11 2012
@@ -70,12 +70,15 @@ for download in downloads :
     else:
         date = sys.argv[2]
 
-    print download
-
     data = json.loads(getSourceForgeStats(download,date))
 
-    count = count + data["total"]
+    day_count = data["total"]
+
+    print download + "," + str(day_count)
+
+    count = count + day_count
 
+print data["stats_updated"]
 print str(count)
 
 



Mime
View raw message