diff --git a/contrib/onelab/python/onelab.py b/contrib/onelab/python/onelab.py
index fdbdd57bd0f3a7f8e555a04ec1cdaafca5488537..d47dafc0484159cafa82334c07bee922e03f4737 100755
--- a/contrib/onelab/python/onelab.py
+++ b/contrib/onelab/python/onelab.py
@@ -409,7 +409,7 @@ class client :
     if result == 0 :
       self._send(self._GMSH_INFO, 'upload: ' + ' '.join(argv))
     else :
-      print call.stderr.read()
+      print(call.stderr.read())
       ## self._send(self._GMSH_ERROR, 'upload failed !!\n' + call.stderr.read().encode('utf-8'))
 
   def download(self, here, there, remote='') :
@@ -425,6 +425,6 @@ class client :
     if result == 0 :
       self._send(self._GMSH_INFO, 'download: ' + ' '.join(argv))
     else :
-      print call.stderr.read()
+      print(call.stderr.read())
       ##self._send(self._GMSH_ERROR, 'download failed !!\n' + call.stderr.read().encode('utf-8'))