runtime/NevowServer.py
changeset 1826 91796f408540
parent 1782 5b6ad7a7fd9d
child 1831 56b48961cc68
--- a/runtime/NevowServer.py	Fri Sep 22 10:52:44 2017 +0300
+++ b/runtime/NevowServer.py	Fri Sep 22 10:54:42 2017 +0300
@@ -22,6 +22,8 @@
 # License along with this library; 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 os
 import util.paths as paths
 from nevow import rend, appserver, inevow, tags, loaders, athena
@@ -185,7 +187,7 @@
 
     listening = False
     reactor.listenTCP(port, site)
-    print _("HTTP interface port :"), port
+    print(_('HTTP interface port :'), port)
     return website