diff options
author | Tomasz Bursztyka <tomasz.bursztyka@nokia.com> | 2010-10-07 10:40:05 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-10-07 13:31:47 +0200 |
commit | 8e273c5f42e72158da0a11529dcdad11a7079d95 (patch) | |
tree | 27d92e3a0c587453cf33f9628ead29f1a35f389b /test/list-services | |
parent | 2aed7a549e25e099431e0543e19eca8175452141 (diff) | |
download | connman-8e273c5f42e72158da0a11529dcdad11a7079d95.tar.gz connman-8e273c5f42e72158da0a11529dcdad11a7079d95.tar.bz2 connman-8e273c5f42e72158da0a11529dcdad11a7079d95.zip |
Pretty printers for proxy settings in various test tool.
Diffstat (limited to 'test/list-services')
-rwxr-xr-x | test/list-services | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/list-services b/test/list-services index 88eea693..c4ae5d75 100755 --- a/test/list-services +++ b/test/list-services @@ -9,7 +9,10 @@ def extract_values(values): if key in ["PrefixLength"]: val += "%s" % (int(values[key])) else: - val += str(values[key]) + if key in ["Servers", "Excludes"]: + val += extract_list(values[key]) + else: + val += str(values[key]) val += " }" return val |