fix up if/elif in _handle_optional_arg_type
This commit is contained in:
		
							parent
							
								
									919a4fc619
								
							
						
					
					
						commit
						1373fe5178
					
				| @ -45,7 +45,7 @@ class LoraxWrapper(object): | |||||||
|         if type(f_arg) is list: |         if type(f_arg) is list: | ||||||
|             for item in f_arg: |             for item in f_arg: | ||||||
|                 cmd_args.append("%s=%s" % (c_arg, item)) |                 cmd_args.append("%s=%s" % (c_arg, item)) | ||||||
|         if type(f_arg) is str: |         elif type(f_arg) is str: | ||||||
|             cmd_args.append("%s=%s" % (c_arg, item)) |             cmd_args.append("%s=%s" % (c_arg, item)) | ||||||
|         else: |         else: | ||||||
|             raise Exception( |             raise Exception( | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user