We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
import fcntl
1 parent 20f01e0 commit cf3e49fCopy full SHA for cf3e49f
cwltool/utils.py
@@ -1,6 +1,12 @@
1
"""Shared functions and other definitions."""
2
import collections
3
-import fcntl
+
4
+try:
5
+ import fcntl
6
+except ImportError:
7
+ # Guard against `from .utils import ...` on windows.
8
+ # See windows_check() in main.py
9
+ pass
10
import importlib.metadata
11
import os
12
import random
0 commit comments