community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1690667 - /comdev/reporter.apache.org/trunk/scandist.py
Date Mon, 13 Jul 2015 13:23:21 GMT
Author: sebb
Date: Mon Jul 13 13:23:21 2015
New Revision: 1690667

URL: http://svn.apache.org/r1690667
Log:
Unused

Modified:
    comdev/reporter.apache.org/trunk/scandist.py

Modified: comdev/reporter.apache.org/trunk/scandist.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scandist.py?rev=1690667&r1=1690666&r2=1690667&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scandist.py (original)
+++ comdev/reporter.apache.org/trunk/scandist.py Mon Jul 13 13:23:21 2015
@@ -204,19 +204,13 @@ class PubSubClient(Thread):
                 try:
                     obj = json.loads(line)
                     if "commit" in obj and "repository" in obj['commit']:
-                        obj['commit']['whence'] = time.time()
-                    
-                            
-                        # If it's our public svn repo, then...
+                        # If it's a change
                         if 'changed' in obj['commit']:
                         
                             #Grab some vars
                             commit = obj['commit']
-                            body = commit['log']
                             svnuser = commit['committer']
                             path, action = commit['changed'].popitem()
-                            revision = commit['id']
-                            email = svnuser + "@apache.org"
                             
                             # Figure out the root thingermajig
                             match = re.match(r"^release/([a-z0-9]+)", path)



Mime
View raw message