in scripts/cronjobs/pubsubber.py [0:0]
def main():
if debug:
print("Foreground test mode enabled, no updates will be made")
for watchPath in watching:
print("Watching: '" + watchPath + "' for updates to '" + str(watching[watchPath]) + "'")
# Start the svn thread
svn_thread = PubSubClient()
svn_thread.url = "http://svn-master.apache.org:2069/commits/*"
svn_thread.start()
while True:
try:
time.sleep(60)
except KeyboardInterrupt:
logger.info("Detected shutdown interrupt")
pass