MCPcopy Create free account
hub / github.com/apache/solr / ask_yes_no

Function ask_yes_no

dev-tools/scripts/releaseWizard.py:1469–1474  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

1467
1468
1469def ask_yes_no(text):
1470 answer = None
1471 while answer not in ['y', 'n']:
1472 answer = str(input("\nQ: %s (y/n): " % text))
1473 print("\n")
1474 return answer == 'y'
1475
1476
1477def abbreviate_line(line, width):

Callers 7

clear_rcMethod · 0.85
new_rcMethod · 0.85
display_and_confirmMethod · 0.85
reset_stateFunction · 0.85
configure_pgpFunction · 0.85
runMethod · 0.85
create_icalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…