aboutsummaryrefslogtreecommitdiffstats
path: root/examples/dbus/test_signal_recipient.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dbus/test_signal_recipient.py')
-rwxr-xr-xexamples/dbus/test_signal_recipient.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/dbus/test_signal_recipient.py b/examples/dbus/test_signal_recipient.py
index 9a97e11..2168f12 100755
--- a/examples/dbus/test_signal_recipient.py
+++ b/examples/dbus/test_signal_recipient.py
@@ -14,17 +14,17 @@ def emit_signal(obj):
def hello_signal_handler(hello_string):
- print "Received signal (by connecting using remote " \
- "object) and it says: %s" % hello_string
+ print("Received signal (by connecting using remote "
+ "object) and it says: %s" % hello_string)
def catchall_hello_signals_handler(hello_string):
- print "Received a hello signal and it says: %s" % hello_string
+ print("Received a hello signal and it says: %s" % hello_string)
def catchall_testservice_interface_handler(hello_string, dbus_message):
- print "com.example.TestService interface says %s " \
- "when it sent signal %s" % (hello_string, dbus_message.get_member())
+ print("com.example.TestService interface says %s "
+ "when it sent signal %s" % (hello_string, dbus_message.get_member()))
dbus_ml = dbus_mainloop.DBusEcoreMainLoop()