Skip to content

Commit dac9543

Browse files
committed
types tweak
1 parent feec475 commit dac9543

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cwltool/expression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def jshead(engineConfig, rootvars):
2525
segment_re = re.compile(segments, flags=re.UNICODE)
2626
param_re = re.compile(r"\((%s)%s*\)$" % (seg_symbol, segments), flags=re.UNICODE)
2727

28-
JSON = Union[Dict[Any, Any], List[Any], Text, int, int, float, bool, None]
28+
JSON = Union[Dict[Any, Any], List[Any], Text, int, long, float, bool, None]
2929

3030

3131
class SubstitutionError(Exception):

cwltool/sandboxjs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class JavascriptException(Exception):
1717

1818
_logger = logging.getLogger("cwltool")
1919

20-
JSON = Union[Dict[Text, Any], List[Any], Text, int, int, float, bool, None]
20+
JSON = Union[Dict[Text, Any], List[Any], Text, int, long, float, bool, None]
2121

2222
localdata = threading.local()
2323

@@ -104,7 +104,7 @@ def term():
104104
stdout_buf = BytesIO()
105105
stderr_buf = BytesIO()
106106

107-
completed = [] # type: List[Union[cStringIO.InputType, cStringIO.OutputType]]
107+
completed = [] # type: List[BytesIO]
108108
while len(completed) < 3:
109109
rready, wready, _ = select.select([nodejs.stdout, nodejs.stderr], [nodejs.stdin], [])
110110
if nodejs.stdin in wready:

0 commit comments

Comments
 (0)