Imported Upstream connman version 1.38
[platform/upstream/connman.git] / test / vpn-disconnect
index d7a49ba..dccad2c 100755 (executable)
@@ -4,7 +4,7 @@ import sys
 import dbus
 
 if (len(sys.argv) < 1):
-       print "Usage: %s <VPN connection id>" % (sys.argv[0])
+       print("Usage: %s <VPN connection id>" % (sys.argv[0]))
        sys.exit(1)
 
 bus = dbus.SystemBus()
@@ -16,7 +16,7 @@ connections = manager.GetConnections()
 
 path = "/net/connman/vpn/connection/" + sys.argv[1]
 
-print "Attempting to disconnect VPN %s" % (path)
+print("Attempting to disconnect VPN %s" % (path))
 
 connection = dbus.Interface(bus.get_object("net.connman.vpn", path),
                                            "net.connman.vpn.Connection")