qvm-template: Fix type hints.
This commit is contained in:
parent
6c873cdf39
commit
ed8fca6494
@ -818,8 +818,8 @@ def install(
|
|||||||
|
|
||||||
print('This will override changes made in the following VMs:',
|
print('This will override changes made in the following VMs:',
|
||||||
file=sys.stderr)
|
file=sys.stderr)
|
||||||
for tpl in override_tpls:
|
for name in override_tpls:
|
||||||
print(' %s' % tpl, file=sys.stderr)
|
print(' %s' % name, file=sys.stderr)
|
||||||
confirm = ''
|
confirm = ''
|
||||||
while confirm != 'y':
|
while confirm != 'y':
|
||||||
confirm = input('Are you sure? [y/N] ').lower()
|
confirm = input('Are you sure? [y/N] ').lower()
|
||||||
@ -1186,6 +1186,7 @@ def repolist(args: argparse.Namespace, app: qubesadmin.app.QubesBase) -> None:
|
|||||||
for repo in args.disablerepo:
|
for repo in args.disablerepo:
|
||||||
base.repos.get_matching(repo).disable()
|
base.repos.get_matching(repo).disable()
|
||||||
|
|
||||||
|
repos: typing.List[dnf.repo.Repo]
|
||||||
if args.repos:
|
if args.repos:
|
||||||
repos = []
|
repos = []
|
||||||
for repo in args.repos:
|
for repo in args.repos:
|
||||||
|
Loading…
Reference in New Issue
Block a user