Skip to content

Commit

Permalink
fix formatting in another error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
groutr committed Jul 21, 2015
1 parent e5ea6a8 commit e23dba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda/cli/main_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def execute_config(args, parser):
for key, item in args.add:
if key not in config.rc_list_keys:
common.error_and_exit("key must be one of %s, not %r" %
(config.rc_list_keys, key), json=args.json,
(', '.join(config.rc_list_keys), key), json=args.json,
error_type="ValueError")
if not isinstance(rc_config.get(key, []), list):
raise CouldntParse("key %r should be a list, not %s." % (key,
Expand Down

0 comments on commit e23dba5

Please sign in to comment.