Skip to content

Commit 7f097d8

Browse files
committed
fixing bug with client
1 parent 30fd3aa commit 7f097d8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

singularity/cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def execute(self,image_path,command,writable=False,contain=False):
126126
if writable == True:
127127
sudo = True
128128

129-
if not isinstance(list,command):
129+
if not isinstance(command,list):
130130
command = command.split(' ')
131131

132132
cmd = cmd + [image_path] + command
@@ -188,7 +188,7 @@ def importcmd(self,image_path,input_source,import_type=None,command=None):
188188
if import_type == "tar":
189189
cmd = ['singularity','import','--file',input_source]
190190
if command is not None:
191-
if not isinstance(list,command):
191+
if not isinstance(command,list):
192192
command = command.split(' ')
193193
cmd = cmd + ["--command"] + command
194194
cmd.append(image_path)
@@ -232,7 +232,7 @@ def run(self,image_path,args=None,writable=False,contain=False):
232232
sudo = True
233233

234234
if args is not None:
235-
if not isinstance(list,args):
235+
if not isinstance(args,list):
236236
args = command.split(' ')
237237
cmd = cmd + args
238238

singularity/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "1.1.3"
1+
__version__ = "1.1.4"
22
AUTHOR = 'Vanessa Sochat'
33
AUTHOR_EMAIL = '[email protected]'
44
NAME = 'singularity'

0 commit comments

Comments
 (0)