mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #1769 from mvdbeek/fix_ies
Remove len(stderr), breaks on recent docker versions
This commit is contained in:
@@ -214,7 +214,7 @@ class InteractiveEnviornmentRequest(object):
|
||||
))
|
||||
p = Popen( raw_cmd, stdout=PIPE, stderr=PIPE, close_fds=True, shell=True)
|
||||
stdout, stderr = p.communicate()
|
||||
if p.returncode != 0 or len(stderr):
|
||||
if p.returncode != 0:
|
||||
log.error( "%s\n%s" % (stdout, stderr) )
|
||||
return None
|
||||
else:
|
||||
@@ -270,7 +270,7 @@ class InteractiveEnviornmentRequest(object):
|
||||
|
||||
p = Popen(command, stdout=PIPE, stderr=PIPE, close_fds=True, shell=True)
|
||||
stdout, stderr = p.communicate()
|
||||
if p.returncode != 0 or len(stderr):
|
||||
if p.returncode != 0:
|
||||
log.error( "%s\n%s" % (stdout, stderr) )
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user