diff options
Diffstat (limited to 'test/activate-context')
-rwxr-xr-x | test/activate-context | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/activate-context b/test/activate-context index 01565add..1c4a1054 100755 --- a/test/activate-context +++ b/test/activate-context @@ -20,7 +20,7 @@ for path, properties in modems: contexts = connman.GetContexts() if (len(contexts) == 0): - print "No context available" + print("No context available") sys.exit(1) connman.SetProperty("Powered", dbus.Boolean(1)) @@ -36,5 +36,5 @@ for path, properties in modems: try: context.SetProperty("Active", dbus.Boolean(1), timeout = 100) except dbus.DBusException, e: - print "Error activating %s: %s" % (path, str(e)) + print("Error activating %s: %s" % (path, str(e))) exit(2) |