Skip to content

Commit daa923d

Browse files
committed
fix check for custom networking
1 parent 52796b8 commit daa923d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/singularity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def create_runtime(self,
235235
runtime.append(u"--pwd")
236236
runtime.append("%s" % (docker_windows_path_adjust(self.builder.outdir)))
237237

238-
if runtimeContext.custom_net is not None:
238+
if runtimeContext.custom_net:
239239
raise UnsupportedRequirement(
240240
"Singularity implementation does not support custom networking")
241241
elif runtimeContext.disable_net:

0 commit comments

Comments
 (0)