--- hared/__init__.py.orig	2018-03-26 17:30:13 UTC
+++ hared/__init__.py
@@ -4,7 +4,7 @@ import json
 try:
     from configparser import ConfigParser
 except ImportError:
-    from ConfigParser import ConfigParser
+    from configparser import ConfigParser
 
 __author__    = 'Jan-Piet Mens <jp()mens.de>'
 
@@ -30,8 +30,8 @@ class Hare():
             pass
 
     def printconfig(self):
-        print "Listening for UDP on %s:%d" % (self.listenhost, self.listenport)
-        print "MQTT broker configured to %s:%d on %s" % (self.mqtthost, self.mqttport, self.topic)
+        print("Listening for UDP on %s:%d" % (self.listenhost, self.listenport))
+        print("MQTT broker configured to %s:%d on %s" % (self.mqtthost, self.mqttport, self.topic))
 
 def run(config='/usr/local/etc/hared.ini'):
     h = Hare(config)
@@ -53,6 +53,6 @@ def run(config='/usr/local/etc/hared.ini'):
             continue
 
         if h.verbose:
-            print js
+            print(js)
 
         mqtt.single(h.topic, js, hostname=h.mqtthost, port=h.mqttport)
