carolinux / gdata-python-client

Automatically exported from code.google.com/p/gdata-python-client
0 stars 1 forks source link

gdata.speadsheet.text_db removes formatting of the first row #586

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
By loading the row from table causes the header to remove formatting such as ' 
' and '_' 

>>>client = text_db.DatabaseClient(username = 'username' , password = 'pass')
>>>speadsheetdb = client.GetDatabases(name = 'translation')
>>>tabble = speadsheetdb[0].GetTables(name = 'translation')[0]
>>>rows = tabble.GetRecords(1,100)
>>>for i in rows:
...   print i.content
...
What is the expected output? What do you see instead?
{'lang': 'en_us', 'loginlink': 'link', 'title': 'some string', 
'choosefromyourcontacts': 'contact list', 'logout': 'logout', 'viewcontacts': 
'contacts', 'metadescription': 'this is s '}
{'lang': 'en_ul', 'loginlink': 'link', 'title': 'some other string', 
'choosefromyourcontacts': 'contact list', 'logout': 'logout', 'viewcontacts': 
'contacts', 'metadescription': 'this is s '}

where for instance "loginlink" should be "login_link"

What version of the product are you using?

2.0.16
Please provide any additional information below.

Original issue reported on code.google.com by david.d...@bynd.com on 24 Jan 2012 at 11:22

GoogleCodeExporter commented 9 years ago

Original comment by afs...@google.com on 2 Feb 2012 at 2:44