Description
Typo in result.py triggers AttributeError when evaluating return condition since LCB_SUBDOC_MULTI_FAILRUE does not exist:
AttributeError Traceback (most recent call last)
|
<ipython-input-48-480e33981320> in <module>()
|
9 print "Content of SubdocResult is: {0}".format(subDocumentNoField.get(missingFieldToRetrieve))
|
10
|
---> 11 subDocumentNoField.access_ok
|
|
/Users/simon/anaconda2/lib/python2.7/site-packages/couchbase/result.pyc in access_ok(self)
|
154 :return: True if the document is accessible, False otherwise
|
155 """
|
--> 156 return self.rc == 0 or self.rc == C.LCB_SUBDOC_MULTI_FAILRUE
|
157
|
158 @property
|
|
AttributeError: 'module' object has no attribute 'LCB_SUBDOC_MULTI_FAILRUE'
|