diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-07-19 22:04:12 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-07-19 22:04:12 +0200 |
commit | 278061ec538f9781147f50831720da8600ccbbed (patch) | |
tree | 82e0c8724c6170f0423021c340238eaa3f16a931 /test/test-manager | |
parent | 5795a5c20529565bb6ac044b4cdd573c11a4e55d (diff) | |
download | connman-278061ec538f9781147f50831720da8600ccbbed.tar.gz connman-278061ec538f9781147f50831720da8600ccbbed.tar.bz2 connman-278061ec538f9781147f50831720da8600ccbbed.zip |
Add special handling for empty strings
Diffstat (limited to 'test/test-manager')
-rwxr-xr-x | test/test-manager | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test-manager b/test/test-manager index 33835237..814f7ead 100755 --- a/test/test-manager +++ b/test/test-manager @@ -74,6 +74,12 @@ for key in properties.keys(): print " true" else: print " false" + elif key in ["DefaultTechnology"]: + print "%s" % (key) + if properties[key] == "": + print " <none>" + else: + print " %s" % (properties[key]) else: print "%s" % (key) print " %s" % (properties[key]) |