* raised pending interrupt within pisi-cli, api.finalize protected itself.
This commit is contained in:
@@ -32,7 +32,10 @@ def sig_handler(sig, frame):
|
|||||||
exit()
|
exit()
|
||||||
|
|
||||||
def exit():
|
def exit():
|
||||||
pisi.api.finalize()
|
try:
|
||||||
|
pisi.api.finalize()
|
||||||
|
except KeyboardInterrupt: # raised pending interrupt
|
||||||
|
pass
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
def handle_exception(exception, value, tb):
|
def handle_exception(exception, value, tb):
|
||||||
|
|||||||
Reference in New Issue
Block a user