Commit 2808e4fe authored by Jameson Rollins's avatar Jameson Rollins
Browse files

python3: cast dict.items() to list when using +

parent 947f60f8
from .system import GuardSystemLoadError
def add_grd_arg(parser, *args, **kwargs):
"""Add common argument to argparse parser"""
......@@ -24,7 +25,7 @@ def add_grd_arg(parser, *args, **kwargs):
}
parser.add_argument(*args,
**dict(parserargs[args].items() + kwargs.items()))
**dict(list(parserargs[args].items()) + list(kwargs.items())))
def init_system(args, load=False):
"""Initialize (and optionally load) system module
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment