Ah, I'd failed to notice that Server implemented __iter__. (Bit of a python n00b). Thats perfect - thanks!
--jay On Sun, Apr 13, 2008 at 5:12 PM, Yoan Blanc <[EMAIL PROTECTED]> wrote: > Do this work for you? > > if dbname in couch: > db = couch[dbname] > else: > db = couch.create(dbname) > > Cheers, > > -- Yoan
