community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1690487 - /comdev/projects.apache.org/scripts/cronjobs/pubsubber.py
Date Sun, 12 Jul 2015 17:08:16 GMT
Author: sebb
Date: Sun Jul 12 17:08:15 2015
New Revision: 1690487

URL: http://svn.apache.org/r1690487
Log:
More debug info

Modified:
    comdev/projects.apache.org/scripts/cronjobs/pubsubber.py

Modified: comdev/projects.apache.org/scripts/cronjobs/pubsubber.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/cronjobs/pubsubber.py?rev=1690487&r1=1690486&r2=1690487&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/cronjobs/pubsubber.py (original)
+++ comdev/projects.apache.org/scripts/cronjobs/pubsubber.py Sun Jul 12 17:08:15 2015
@@ -219,13 +219,13 @@ class PubSubClient(Thread):
                             match = re.match("^%s" % watchPath, path)
                             if match:
                                 if debug:
-                                    print("Matched " + path + " would run 'svn up " + filePath
+ "'")
+                                    print("Matched '" + path + "' against '" + watchPath
+ "'; would run 'svn up " + filePath + "'")
                                 else:
                                     time.sleep(3)
                                     subprocess.call(['svn','up',filePath])
                             else:
                                 if debug:
-                                    print("Did not match against " + path)
+                                    print("Did not match '" + path + "' against ' " + watchPath
+ "'")
                     
 
                 except ValueError as detail:



Mime
View raw message