From 20e08a04f7fe7e6ce32489d60033264259885c30 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 29 Oct 2012 14:11:24 -0400 Subject: [PATCH] Change the location where stamp files are looked for. (imported from commit 15aec12195f5650df0b603ebe8ad9f38fc29d8e1) --- bots/zephyr_mirror.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bots/zephyr_mirror.py b/bots/zephyr_mirror.py index 371104f..f2addc8 100755 --- a/bots/zephyr_mirror.py +++ b/bots/zephyr_mirror.py @@ -166,9 +166,9 @@ def update_subscriptions_from_humbug(): ensure_subscribed(stream) def maybe_restart_mirroring_script(): - if os.stat(root_path + "/restart_stamp").st_mtime > start_time or \ + if os.stat(root_path + "/stamps/restart_stamp").st_mtime > start_time or \ (options.user == "tabbott" and - os.stat(root_path + "/tabbott_stamp").st_mtime > start_time): + os.stat(root_path + "/stamps/tabbott_stamp").st_mtime > start_time): print print "%s: zephyr mirroring script has been updated; restarting..." % \ (datetime.datetime.now())