Fixed a bug and removed unused import

This commit is contained in:
Saswat Padhi 2019-11-03 05:02:21 -08:00 committed by GitHub
parent 704bf50e0a
commit 5da0216b94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,6 @@
from __future__ import print_function
import argparse
import sys
import qubesadmin
@ -114,8 +113,8 @@ def init_info_parser(sub_parsers):
''' Add 'info' action related options '''
i_parser = sub_parsers.add_parser(
'info', aliases=('i',), help='Print info about the specified pools')
i_parser.add_argument(metavar='POOL_NAME', dest='pools', nargs='+',
action=qubesadmin.tools.PoolsAction)
i_parser.add_argument(metavar='POOL_NAME', dest='pools',
action=qubesadmin.tools.PoolsAction)
i_parser.set_defaults(func=info_pools)