projects
/
platform
/
upstream
/
neard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2110dd1
)
test: Display tag properties from the list command
author
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 24 Nov 2013 22:55:41 +0000
(23:55 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 24 Nov 2013 23:02:46 +0000
(
00:02
+0100)
test/test-tag
patch
|
blob
|
history
diff --git
a/test/test-tag
b/test/test-tag
index
31576ac
..
3d2c226
100755
(executable)
--- a/
test/test-tag
+++ b/
test/test-tag
@@
-53,6
+53,19
@@
if (sys.argv[1] == "list"):
print(" [ %s ]" % (path))
+ props = interfaces["org.neard.Tag"]
+
+ for (key, value) in props.items():
+ if key in ["ReadOnly"]:
+ if value == dbus.Boolean(1):
+ val = "true"
+ else:
+ val = "false"
+ print(" %s = %s" % (key, val))
+
+ else:
+ print(" %s = %s" % (key, value))
+
sys.exit(0)
if (sys.argv[1] == "dump"):