chore: removes redundant import
All checks were successful
gitea-physics/deepdog/pipeline/head This commit looks good
All checks were successful
gitea-physics/deepdog/pipeline/head This commit looks good
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
import sys
|
|
||||||
|
|
||||||
_RESPONSE_MAP = {
|
_RESPONSE_MAP = {
|
||||||
"yes": True,
|
"yes": True,
|
||||||
"ye": True,
|
"ye": True,
|
||||||
@@ -22,4 +20,4 @@ def confirm_prompt(question: str) -> bool:
|
|||||||
if choice in _RESPONSE_MAP:
|
if choice in _RESPONSE_MAP:
|
||||||
return _RESPONSE_MAP[choice]
|
return _RESPONSE_MAP[choice]
|
||||||
else:
|
else:
|
||||||
print(f'Respond with "yes" or "no"')
|
print('Respond with "yes" or "no"')
|
||||||
|
Reference in New Issue
Block a user