connectors/PYRO/__init__.py
changeset 1826 91796f408540
parent 1783 3311eea28d56
child 1830 e598d1acf354
--- a/connectors/PYRO/__init__.py	Fri Sep 22 10:52:44 2017 +0300
+++ b/connectors/PYRO/__init__.py	Fri Sep 22 10:54:42 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import print_function
 import Pyro
 import Pyro.core
 import Pyro.util
@@ -123,7 +125,7 @@
                 # confnodesroot.logger.write_error(traceback.format_exc())
                 errmess = ''.join(Pyro.util.getPyroTraceback(e))
                 confnodesroot.logger.write_error(errmess + "\n")
-                print errmess
+                print(errmess)
                 confnodesroot._SetConnector(None)
             return default
         return catcher_func