Python 3 compat / suppress warning messages

This commit is contained in:
David Baer
2016-11-14 11:57:32 -05:00
parent ed8bdcfd93
commit 0612510aba
2 changed files with 3 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ class EngineFactory(ibus.Factory):
self.__id = 0
def create_engine(self, engine_name):
print engine_name
print(engine_name)
if engine_name == "grc":
self.__id += 1
return engine.Engine(self.__bus, "%s/%d" % ("/org/freedesktop/IBus/GRC/Engine", self.__id))