[Metakit] more expectation clashes

Eric S. Johansson esj at harvee.org
Wed May 4 19:52:37 CEST 2005


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.

---eric

-- 
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.


More information about the Metakit mailing list