MCPcopy Create free account
hub / github.com/apache/arrow / continue_maybe

Method continue_maybe

dev/merge_arrow_pr.py:372–380  ·  view source on GitHub ↗
(self, prompt)

Source from the content-addressed store, hash-verified

370 return getpass.getpass(prompt)
371
372 def continue_maybe(self, prompt):
373 while True:
374 result = input("\n%s (y/n): " % prompt)
375 if result.lower() == "y":
376 return
377 elif result.lower() == "n":
378 self.fail("Okay, exiting")
379 else:
380 prompt = "Please input 'y' or 'n'"
381
382
383class PullRequest(object):

Callers 1

cliFunction · 0.95

Calls 1

failMethod · 0.95

Tested by

no test coverage detected