mirror of
https://github.com/vale981/melpazoid
synced 2025-03-05 17:31:38 -05:00
rm unused yes_p function
This commit is contained in:
parent
19c7c58a27
commit
b796c0bcab
1 changed files with 0 additions and 9 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue