diff options
Diffstat (limited to 'test/list-profiles')
-rwxr-xr-x | test/list-profiles | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/list-profiles b/test/list-profiles index 47741141..9a68d20e 100755 --- a/test/list-profiles +++ b/test/list-profiles @@ -17,6 +17,13 @@ for path in properties["Profiles"]: properties = profile.GetProperties() for key in properties.keys(): - print " %s = %s" % (key, properties[key]) + if key in ["Services"]: + list = "" + for path in properties["Services"]: + val = str(path) + list = list + val[val.rfind("/") + 1:] + " " + print " Services = [ %s]" % (list) + else: + print " %s = %s" % (key, properties[key]) print |