Author: robweir Date: Mon May 13 19:44:15 2013 New Revision: 1482046 URL: http://svn.apache.org/r1482046 Log: Added 3.4.1 respin languages to 34x.lst. Also improved exception handling when null JSON objects are returned.
Modified:
openoffice/devtools/aoo-stats/34x.lst
openoffice/devtools/aoo-stats/get-aoo-stats.py
Modified: openoffice/devtools/aoo-stats/34x.lst
URL:
http://svn.apache.org/viewvc/openoffice/devtools/aoo-stats/34x.lst?rev=1482046&r1=1482045&r2=1482046&view=diff
==============================================================================
--- openoffice/devtools/aoo-stats/34x.lst (original)
+++ openoffice/devtools/aoo-stats/34x.lst Mon May 13 19:44:15 2013
@@ -208,3 +208,51 @@ http://sourceforge.net/projects/openoffi
http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sk/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_sk.tar.gz
http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sk/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_sk.tar.gz
http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sk/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_sk.dmg
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/eu/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_eu.exe
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/eu/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_eu.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/eu/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_eu.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/eu/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_eu.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/eu/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_eu.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/eu/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_eu.dmg
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/da/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_da.exe
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/da/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_da.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/da/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_da.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/da/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_da.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/da/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_da.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/da/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_da.dmg
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gd/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_gd.exe
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gd/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_gd.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gd/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_gd.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gd/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_gd.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gd/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_gd.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/gd/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_gd.dmg
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ko/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_ko.exe
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ko/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_ko.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ko/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_ko.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ko/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_ko.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ko/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_ko.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ko/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_ko.dmg
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nb/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_nb.exe
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nb/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_nb.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nb/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_nb.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nb/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_nb.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nb/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_nb.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/nb/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_nb.dmg
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_pl.exe
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_pl.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_pl.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_pl.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pl/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_pl.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/pl/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_pl.dmg
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sv/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_sv.exe
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sv/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_sv.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sv/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_sv.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sv/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_sv.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sv/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_sv.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/sv/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_sv.dmg
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ast/3.4.1/Apache_OpenOffice_incubating_3.4.1_Win_x86_install_ast.exe
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ast/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_ast.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ast/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-deb_ast.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ast/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_ast.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ast/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-deb_ast.tar.gz
+http://sourceforge.net/projects/openofficeorg.mirror/files/localized/ast/3.4.1/Apache_OpenOffice_incubating_3.4.1_MacOS_x86_install_ast.dmg
Modified: openoffice/devtools/aoo-stats/get-aoo-stats.py
URL:
http://svn.apache.org/viewvc/openoffice/devtools/aoo-stats/get-aoo-stats.py?rev=1482046&r1=1482045&r2=1482046&view=diff
==============================================================================
--- openoffice/devtools/aoo-stats/get-aoo-stats.py (original)
+++ openoffice/devtools/aoo-stats/get-aoo-stats.py Mon May 13 19:44:15 2013
@@ -80,7 +80,12 @@ count = 0
for download in downloads :
- data = json.loads(getSourceForgeStats(download,startDate,endDate))
+ try:
+
+ data = json.loads(getSourceForgeStats(download,startDate,endDate))
+
+ except ValueError:
+ continue
day_count = data["total"]
