Skip to content
This repository was archived by the owner on Jun 9, 2020. It is now read-only.

Commit aedd2eb

Browse files
committed
Removes optimization that eliminated a commandbinding parameter
1 parent f1f611e commit aedd2eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cwlgen/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ class CommandLineBinding(object):
297297
Describes how the handle an input or an argument.
298298
'''
299299

300-
def __init__(self, load_contents=False, position=None, prefix=None, separate=False,
301-
item_separator=None, value_from=None, shell_quote=False):
300+
def __init__(self, load_contents=False, position=None, prefix=None, separate=True,
301+
item_separator=None, value_from=None, shell_quote=True):
302302
'''
303303
:param load_contents: Read up to the fist 64 KiB of text from the file and
304304
place it in the "contents" field of the file object
@@ -331,7 +331,7 @@ def get_dict(self):
331331
:return: dictionnary of the object
332332
:rtype: DICT
333333
'''
334-
dict_binding = {k: v for k, v in vars(self).items() if v is not None and v is not False}
334+
dict_binding = {k: v for k, v in vars(self).items() if v is not None}
335335
return dict_binding
336336

337337

0 commit comments

Comments
 (0)