Show More
@@ -502,7 +502,10 b' class KeyValueConfigLoader(CommandLineConfigLoader):' | |||||
502 | if '.' not in lhs: |
|
502 | if '.' not in lhs: | |
503 | # probably a mistyped alias, but not technically illegal |
|
503 | # probably a mistyped alias, but not technically illegal | |
504 | warn.warn("Unrecognized alias: '%s', it will probably have no effect."%lhs) |
|
504 | warn.warn("Unrecognized alias: '%s', it will probably have no effect."%lhs) | |
505 | self._exec_config_str(lhs, rhs) |
|
505 | try: | |
|
506 | self._exec_config_str(lhs, rhs) | |||
|
507 | except Exception: | |||
|
508 | raise ArgumentError("Invalid argument: '%s'" % raw) | |||
506 |
|
509 | |||
507 | elif flag_pattern.match(raw): |
|
510 | elif flag_pattern.match(raw): | |
508 | if item in flags: |
|
511 | if item in flags: |
General Comments 0
You need to be logged in to leave comments.
Login now