Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit 56b5cb4

Browse files
duck-rhmscherer
authored andcommitted
be silent if already running but no debug output selected (cron-friendly)
1 parent 5486a83 commit 56b5cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/build_deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def notify_error(stage, error):
126126
os.environ.get('XDG_RUNTIME_DIR', '~'), name))
127127
if os.path.exists(lock_file):
128128
# TODO verify if the PID in the file still exist
129-
print "Builder already running, exiting"
129+
debug_print("Builder already running, exiting")
130130
sys.exit(2)
131131

132132
# TODO try/except, show a better error message

0 commit comments

Comments
 (0)