Use pipeable.ctrlc_return1.
This commit is contained in:
parent
d5a7fdb467
commit
396700b708
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,7 @@ from voussoirkit import betterhelp
|
|||
from voussoirkit import downloady
|
||||
from voussoirkit import operatornotify
|
||||
from voussoirkit import pathclass
|
||||
from voussoirkit import pipeable
|
||||
from voussoirkit import vlogging
|
||||
|
||||
log = vlogging.getLogger(__name__, 'fdroidapk')
|
||||
|
@ -72,6 +73,7 @@ def _retry_request(f, tries=5):
|
|||
time.sleep(bo.next())
|
||||
tries -= 1
|
||||
|
||||
@pipeable.ctrlc_return1
|
||||
def fpk_argparse(args):
|
||||
destination = pathclass.Path(args.destination)
|
||||
destination.assert_is_directory()
|
||||
|
|
Loading…
Reference in a new issue