cloudant-labs / cloudant-python

Asynchronous Cloudant / CouchDB interface for Python
http://cloudant-labs.github.io/cloudant-python/
37 stars 17 forks source link

async=False #22

Closed gadamc closed 10 years ago

gadamc commented 10 years ago

Hmm...

It doesn't work when I use async=False as an option. If I put async=True, it works. And if I don't specify async it works. But when I do

account = cloudant.Account('zzz', async=False) resp = account.login('zzz','xxx')

it breaks.

gadamc commented 10 years ago

line 27 in resource.py https://github.com/cloudant-labs/cloudant-python/blob/master/cloudant/resource.py#L27

should be

kwargs.has_key('async')....

or, something equivalent.

garbados commented 10 years ago

Fixed: https://github.com/cloudant-labs/cloudant-python/commit/124b67448c50f7927a23132732b22781d91a982f