flyfire / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Allow substitution for delimiters appearing in list fields #316

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create an album with a comma in the name, e.g. "test, album"
2. google picasa list-albums

What is the expected output? What do you see instead?
Should see "test, album,http://..."
Actually see "test  album,http://..." (two spaces)

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?
fedora 13
python-gdata-2.0.11-1.fc13.noarch
googlecl-0.9.11.tar.gz

Please provide any additional information below.
Obviously, putting commas in the album name will screw up any programs trying 
to parse the output.  Can they be replaced with %2c?

Original issue reported on code.google.com by Richard....@gmail.com on 27 Oct 2010 at 8:37

GoogleCodeExporter commented 8 years ago
Replacement may be an option, but for now, you can specify a non-comma 
delimiter (and therefore get your album-title commas back) with 
--delimiter=<other delimiter>. You can set that delimiter to always be the 
default for Picasa in your config file.

Does the --delimiter option work, or would you rather see some sort of 
replacement text?

Original comment by tom.h.mi...@gmail.com on 27 Oct 2010 at 5:34

GoogleCodeExporter commented 8 years ago
Thanks, the --delimiter option works for me.

Original comment by Richard....@gmail.com on 27 Oct 2010 at 6:31

GoogleCodeExporter commented 8 years ago
Great! I'll mark this as a low-priority enhancement, then.

At the least, the docs should get updated so this is clearer.

Original comment by tom.h.mi...@gmail.com on 27 Oct 2010 at 6:35