This email list is read-only. Emails sent to this list will be discarded ---------------------------------- test/list-connections | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
New commits: commit 32432074e42578a5acd4e47be993b81915d70581 Author: Marcel Holtmann <[email protected]> Date: Wed Dec 24 00:25:36 2008 +0100 Print signal strength as integer and not character Diff in this email is a maximum of 400 lines. diff --git a/test/list-connections b/test/list-connections index 806490d..a656e96 100755 --- a/test/list-connections +++ b/test/list-connections @@ -18,6 +18,10 @@ for path in properties["Connections"]: print "[ %s ]" % (path) for key in properties.keys(): - print " %s = %s" % (key, properties[key]) + if key == "Strength": + val = int(properties[key]) + else: + val = str(properties[key]) + print " %s = %s" % (key, val) print _______________________________________________ Commits mailing list [email protected] https://lists.moblin.org/mailman/listinfo/commits
