Skip to content

Commit

Permalink
Fix support for input products provided via comdline
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Valentino authored and Antonio Valentino committed Feb 9, 2022
1 parent 75362ad commit ecd19b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion asfsmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def _get_parser(subparsers=None):
"--file-list",
action="store_true",
help="read the list of products form file. "
"The file can me a JSON file (with '.json' extension) or a text file."
"The file can be a JSON file (with '.json' extension) or a text file."
"The text file is expected to contain one product name per line."
"The json file can contain a list of products or a dictionary "
"containint a list of products for each key."
Expand Down Expand Up @@ -346,6 +346,8 @@ def main(*argv):
else:
assert isinstance(new_product, dict)
products_tree.update(new_product)
else:
products_tree[""].extend(args.inputs)

auth = _get_auth(user=args.username, pwd=args.password)

Expand Down

0 comments on commit ecd19b8

Please sign in to comment.