summaryrefslogtreecommitdiffstats
path: root/test/send-vcard
diff options
context:
space:
mode:
Diffstat (limited to 'test/send-vcard')
-rwxr-xr-xtest/send-vcard6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/send-vcard b/test/send-vcard
index 39559907..250b36fe 100755
--- a/test/send-vcard
+++ b/test/send-vcard
@@ -4,7 +4,7 @@ import sys
import dbus
if len(sys.argv) < 3:
- print "Usage: %s [modem] <to> <vcard file>" % (sys.argv[0])
+ print("Usage: %s [modem] <to> <vcard file>" % (sys.argv[0]))
sys.exit(1)
bus = dbus.SystemBus()
@@ -17,7 +17,7 @@ else:
modems = manager.GetModems()
path = modems[0][0]
-print "Send vcard using modem %s ..." % path
+print("Send vcard using modem %s ..." % path)
sm = dbus.Interface(bus.get_object('org.ofono', path),
'org.ofono.SmartMessaging')
@@ -29,4 +29,4 @@ else:
vcard = file(sys.argv[2]).read()
path = sm.SendBusinessCard(sys.argv[1], vcard)
-print path
+print(path)