Skip to content

Commit

Permalink
Make sure that prompt is visible
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Feb 11, 2020
1 parent 291aafb commit b3f6c89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/saliweb/backend/failjob.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def get_options():
def fail_job(job, force, email):
if not force:
sys.stdout.write("Fail job %s? " % job.name)
sys.stdout.flush()
reply = sys.stdin.readline()
if len(reply) < 1 or reply[0].upper() != 'Y':
return
Expand Down

0 comments on commit b3f6c89

Please sign in to comment.