mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
Updated for KeyboardInterrupt
This commit is contained in:
parent
a6091d4c2f
commit
4accdfe1a2
1 changed files with 1 additions and 4 deletions
|
@ -85,10 +85,7 @@ class RemovePackages(Configs):
|
|||
for dep in dependencies:
|
||||
print(f"{self.cyan:>16}-> {dep}{self.endc}")
|
||||
|
||||
try:
|
||||
answer: str = input('\nDo you want to remove? [y/N] ')
|
||||
except KeyboardInterrupt:
|
||||
raise SystemExit()
|
||||
answer: str = input('\nDo you want to remove? [y/N] ')
|
||||
|
||||
if answer not in ['Y', 'y']:
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue