Re: troubles with unicode

Oleg Broytman <[email protected]>
Newsgroups gmane.comp.python.sqlobject
Message-ID <[email protected]>
On Sun, Feb 26, 2012 at 09:00:37AM +0100, Petr Jake?? wrote:
> The *names* list generated in:
> names = [self.sqlmeta.columns[v[0]].dbName for v in setters]
> (_SO_finishCreate method in main module)
> 
> contains unicode type string elements (column names) for the columns, that
> are not manually defined in the model.

   The solution, I think, would be to fix columnsFromSchema to make
column names strings, not unicode.

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            [email protected]
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.