We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61b4409 commit 8561f55Copy full SHA for 8561f55
couchdb/client.py
@@ -113,7 +113,7 @@ def __nonzero__(self):
113
try:
114
self.resource.head()
115
return True
116
- except:
+ except http.ResourceNotFound:
117
return False
118
119
def __bool__(self):
@@ -391,7 +391,7 @@ def __nonzero__(self):
391
392
393
394
395
396
397
0 commit comments