OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3610fe
)
test: Print fd_properties in test-profile
author
Johan Hedberg
<johan.hedberg@intel.com>
Tue, 13 Nov 2012 08:24:58 +0000
(10:24 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Tue, 13 Nov 2012 08:24:58 +0000
(10:24 +0200)
test/test-profile
patch
|
blob
|
history
diff --git
a/test/test-profile
b/test/test-profile
index
7cfc376
..
46879d0
100755
(executable)
--- a/
test/test-profile
+++ b/
test/test-profile
@@
-28,6
+28,9
@@
class Profile(dbus.service.Object):
def NewConnection(self, path, fd, properties):
fd = fd.take()
print("NewConnection(%s, %d)" % (path, fd))
+ for key in properties.keys():
+ print(" %s = %s" % key, properties[key])
+
os.close(fd)
if __name__ == '__main__':