projects
/
profile
/
ivi
/
obexd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
obexd-test package is needed for testing
[profile/ivi/obexd.git]
/
test
/
pbap-client
diff --git
a/test/pbap-client
b/test/pbap-client
index
7456c01
..
1311cfd
100755
(executable)
--- a/
test/pbap-client
+++ b/
test/pbap-client
@@
-3,6
+3,9
@@
import sys
import dbus
import sys
import dbus
+reload(sys)
+sys.setdefaultencoding('utf8')
+
bus = dbus.SessionBus()
client = dbus.Interface(bus.get_object("org.openobex.client", "/"),
bus = dbus.SessionBus()
client = dbus.Interface(bus.get_object("org.openobex.client", "/"),
@@
-38,4
+41,4
@@
for path in paths:
pbap.SetFormat("vcard30")
pbap.SetFilter(["VERSION", "FN", "TEL"]);
ret = pbap.PullAll()
pbap.SetFormat("vcard30")
pbap.SetFilter(["VERSION", "FN", "TEL"]);
ret = pbap.PullAll()
- print "%s" % (ret)
+ print "%s" % (ret
.encode('utf8')
)