runtime/ServicePublisher.py
changeset 1826 91796f408540
parent 1744 69dfdb26f600
child 1830 e598d1acf354
--- a/runtime/ServicePublisher.py	Fri Sep 22 10:52:44 2017 +0300
+++ b/runtime/ServicePublisher.py	Fri Sep 22 10:54:42 2017 +0300
@@ -21,6 +21,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 socket
 import threading
 from util import Zeroconf
@@ -54,11 +56,11 @@
         self.port = port
 
         self.server = Zeroconf.Zeroconf(ip)
-        print "MDNS brodcasting on :"+ip
+        print("MDNS brodcasting on :" + ip)
 
         if ip == "0.0.0.0":
             ip = self.gethostaddr()
-        print "MDNS brodcasted service address :"+ip
+        print("MDNS brodcasted service address :" + ip)
         self.ip_32b = socket.inet_aton(ip)
 
         self.server.registerService(