On Tue, Apr 19, 2011 at 8:10 PM, Chris Angelico <rosuav at gmail.com> wrote: <snip> > type=lst[0]["type"].lower() Tangent: Don't call it "type"; you're shadowing the built-in class of the same name. Cheers, Chris