cloudant-labs/cloudant-python

async=False

Closed this issue · 2 comments

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.

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.

Fixed: 124b674