rm unused yes_p function

This commit is contained in:
riscy 2021-09-05 22:41:11 -07:00
parent 19c7c58a27
commit b796c0bcab

View file

@ -609,15 +609,6 @@ def melpa_packages(*keywords: str) -> Dict[str, str]:
}
def yes_p(text: str) -> bool:
"""Ask user a yes/no question."""
while True:
keep = input(f"{text} [y/n] ").strip().lower()
if keep.startswith('y') or keep.startswith('n'):
break
return not keep.startswith('n')
def check_melpa_recipe(recipe: str):
"""Check a MELPA recipe definition."""
_return_code(0)