From ee9c73a923909e23a649407be77e25235d769e25 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Fri, 11 May 2018 22:08:45 +0200 Subject: New upstream version 1.10.8 --- examples/python/dbus/nm-state.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/python/dbus/nm-state.py') diff --git a/examples/python/dbus/nm-state.py b/examples/python/dbus/nm-state.py index 68979efa..176090f7 100755 --- a/examples/python/dbus/nm-state.py +++ b/examples/python/dbus/nm-state.py @@ -69,9 +69,9 @@ for d in devices: # and print them out if state == 100 : # activated - print("Device %s is activated" % name) + print "Device %s is activated" % name else: - print("Device %s is not activated (state=%s)" % (name, device_states[state])) + print "Device %s is not activated (state=%s)" % (name, device_states[state]) # Get active connection state @@ -91,4 +91,4 @@ for a in active: con_details = con_iface.GetSettings() con_name = con_details['connection']['id'] - print("Connection '%s' is %s" % (con_name, connectivity_states[state].lower())) + print "Connection '%s' is %s" % (con_name, connectivity_states[state].lower()) -- cgit 1.3.0-6-gf8a5