You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2018/08/16 16:23:49 UTC
svn commit: r1838209 - in /comdev/reporter.apache.org:
branches/TEST_INSTALL/scripts/parsepmcs.py trunk/scripts/parsepmcs.py
Author: sebb
Date: Thu Aug 16 16:23:49 2018
New Revision: 1838209
URL: http://svn.apache.org/viewvc?rev=1838209&view=rev
Log:
Round to nearest 10 secs to make comparisons easier
Modified:
comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/parsepmcs.py
comdev/reporter.apache.org/trunk/scripts/parsepmcs.py
Modified: comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/parsepmcs.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/parsepmcs.py?rev=1838209&r1=1838208&r2=1838209&view=diff
==============================================================================
--- comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/parsepmcs.py (original)
+++ comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/parsepmcs.py Thu Aug 16 16:23:49 2018
@@ -128,6 +128,8 @@ def updateCommittees(stamp, group, cid):
pmcs[group][cid] = [cname, pmcs[group][cid][1], stamp]
stamp = int(time.time())
+# Round to nearest 10 secs to make comparisons easier
+stamp = stamp - (stamp % 10)
c_info = loadJson('https://whimsy.apache.org/public/committee-info.json')['committees']
ldappeople = loadJson('https://whimsy.apache.org/public/public_ldap_people.json')['people']
Modified: comdev/reporter.apache.org/trunk/scripts/parsepmcs.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/parsepmcs.py?rev=1838209&r1=1838208&r2=1838209&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/parsepmcs.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/parsepmcs.py Thu Aug 16 16:23:49 2018
@@ -128,6 +128,8 @@ def updateCommittees(stamp, group, cid):
pmcs[group][cid] = [cname, pmcs[group][cid][1], stamp]
stamp = int(time.time())
+# Round to nearest 10 secs to make comparisons easier
+stamp = stamp - (stamp % 10)
c_info = loadJson('https://whimsy.apache.org/public/committee-info.json')['committees']
ldappeople = loadJson('https://whimsy.apache.org/public/public_ldap_people.json')['people']