diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-07-03 21:28:06 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-07-18 15:11:57 +0300 |
commit | 7b089a85a2c9fb1e644ce0088b8c20269ce2bda5 (patch) | |
tree | 5dbfbc35c57dc31c0ed01182d9458d2de9aaf31c | |
parent | e8d55f0d516fbb95a2d3dd150b7b26c130f7eb55 (diff) | |
download | obexd-7b089a85a2c9fb1e644ce0088b8c20269ce2bda5.tar.gz |
test: Update map-client to the changes in GetFolderListing
This makes map-client to print only the name of the folders similar
to what ftp-client does.
-rwxr-xr-x | test/map-client | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/map-client b/test/map-client index bf843f3..da357a9 100755 --- a/test/map-client +++ b/test/map-client @@ -50,7 +50,8 @@ if __name__ == '__main__': set_folder(map, options.new_dir) if options.ls_dir: - print map.GetFolderListing(dict()) + for i in map.GetFolderListing(dict()): + print "%s/" % (i["Name"]) if options.ls_msg is not None: print map.GetMessageListing(options.ls_msg, dict()) |