From e152ec7bf4ba252ff9d3eb13eabd417b931dac9a Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Mon, 24 Sep 2018 09:29:55 +0100 Subject: Import Upstream version 1.12.2 --- examples/python/dbus/update-ip4-method.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/python/dbus/update-ip4-method.py') diff --git a/examples/python/dbus/update-ip4-method.py b/examples/python/dbus/update-ip4-method.py index 28a22289..505e808b 100755 --- a/examples/python/dbus/update-ip4-method.py +++ b/examples/python/dbus/update-ip4-method.py @@ -31,12 +31,12 @@ import dbus, sys if len(sys.argv) < 3: - print "Usage: %s [address prefix gateway]" % sys.argv[0] + print("Usage: %s [address prefix gateway]" % sys.argv[0]) sys.exit(1) method = sys.argv[2] if method == "static" and len(sys.argv) < 5: - print "Usage: %s %s static address prefix [gateway]" % (sys.argv[0], sys.argv[1]) + print("Usage: %s %s static address prefix [gateway]" % (sys.argv[0], sys.argv[1])) sys.exit(1) # Convert method to NM method -- cgit 1.3.0-6-gf8a5