Show More
@@ -223,7 +223,12 b' def main(argv=None):' | |||
|
223 | 223 | method = args.method |
|
224 | 224 | if method == '_create_config': |
|
225 | 225 | sys.exit() |
|
226 | ||
|
227 | try: | |
|
226 | 228 | margs = dict(map(lambda s: s.split(':', 1), other)) |
|
229 | except: | |
|
230 | sys.stderr.write('Error parsing arguments \n') | |
|
231 | sys.exit() | |
|
227 | 232 | |
|
228 | 233 | api_call(apikey, host, args.format, method, **margs) |
|
229 | 234 | return 0 |
General Comments 0
You need to be logged in to leave comments.
Login now