Skip to content

Commit

Permalink
Merge pull request #542 from linsword13/fix-util
Browse files Browse the repository at this point in the history
Fix up undefined vars in llnl util
  • Loading branch information
rfbgo committed Jun 27, 2024
2 parents 64c1581 + c55ee43 commit f1eecf6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ramble/llnl/util/tty/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ def get_number(prompt, **kwargs):
number = None
while number is None:
msg(prompt, newline=False)
ans = input()
if ans == str(abort):
return None

Expand Down Expand Up @@ -324,6 +325,7 @@ def get_yes_or_no(prompt, **kwargs):
result = None
while result is None:
msg(prompt, newline=False)
ans = input().lower()
if not ans:
result = default_value
if result is None:
Expand Down

0 comments on commit f1eecf6

Please sign in to comment.