Re: more expectation clashes

"Eric S. Johansson" <[email protected]>
Newsgroups gmane.comp.db.metakit
Message-ID <[email protected]>
Eric S. Johansson wrote:
> since the view append takes keyword arguments, I expected it would 
> handle **dictionary arguments like this:
> 
>         data_set = {}
>         for i in fields:
>                 data_set[i]=query[i].encode('ascii')
>         syslog.syslog(str(data_set))
>         view.append(data_set)
> 
> which is part of my conversion code to do with converting unicode to 
> something metakit can cope with.
> 
> looks like it's time for set/getattr.

whoops, my mistake. it works fine if you don't forget a commit in a cgi 
script.

-- 
http://www.wired.com/wired/archive/13.03/view.html?pg=5

The result of the duopoly that currently defines "competition" is that
prices and service suck. We're the world's leader in Internet
technology - except that we're not.
_____________________________________________
Metakit mailing list  -  [email protected]
http://www.equi4.com/mailman/listinfo/metakit
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.