Skip to content
Snippets Groups Projects
Commit 6a26d54f authored by Gauthier Becker's avatar Gauthier Becker
Browse files

Onelab python3 compatibility (use print(...) in place of print ...)

parent d5c0369c
No related branches found
No related tags found
No related merge requests found
...@@ -409,7 +409,7 @@ class client : ...@@ -409,7 +409,7 @@ class client :
if result == 0 : if result == 0 :
self._send(self._GMSH_INFO, 'upload: ' + ' '.join(argv)) self._send(self._GMSH_INFO, 'upload: ' + ' '.join(argv))
else : else :
print call.stderr.read() print(call.stderr.read())
## self._send(self._GMSH_ERROR, 'upload failed !!\n' + call.stderr.read().encode('utf-8')) ## self._send(self._GMSH_ERROR, 'upload failed !!\n' + call.stderr.read().encode('utf-8'))
def download(self, here, there, remote='') : def download(self, here, there, remote='') :
...@@ -425,6 +425,6 @@ class client : ...@@ -425,6 +425,6 @@ class client :
if result == 0 : if result == 0 :
self._send(self._GMSH_INFO, 'download: ' + ' '.join(argv)) self._send(self._GMSH_INFO, 'download: ' + ' '.join(argv))
else : else :
print call.stderr.read() print(call.stderr.read())
##self._send(self._GMSH_ERROR, 'download failed !!\n' + call.stderr.read().encode('utf-8')) ##self._send(self._GMSH_ERROR, 'download failed !!\n' + call.stderr.read().encode('utf-8'))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment