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 2015/08/09 14:50:28 UTC
svn commit: r1694885 - /comdev/reporter.apache.org/trunk/scandist.py
Author: sebb
Date: Sun Aug 9 12:50:27 2015
New Revision: 1694885
URL: http://svn.apache.org/r1694885
Log:
Only check for ignored deletions if the path matches (don't need to the debug statement otherwise)
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=1694885&r1=1694884&r2=1694885&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scandist.py (original)
+++ comdev/reporter.apache.org/trunk/scandist.py Sun Aug 9 12:50:27 2015
@@ -201,10 +201,6 @@ def processCommit(commit):
for path in paths:
if trace:
print "Checking " + path
- if paths[path]['flags'] == 'D ':
- if debug:
- print "Ignoring deletion of path '%s' " % path
- continue # it's a deletion; ignore
# Is it a dist/release commit?
match = re.match(RELEASE_MATCH, path)
if match:
@@ -212,6 +208,10 @@ def processCommit(commit):
if project != "incubator":
match = re.match(".*/(.+)$", path)
if match:
+ if paths[path]['flags'] == 'D ':
+ if debug:
+ print "Ignoring deletion of path '%s' " % path
+ continue # it's a deletion; ignore
fileName = match.group(1)
if isIgnored(fileName):
if debug: