Updating from master changed BigchainDB.process_post_response to a private method, so I had to align with that.

This commit is contained in:
z-bowen 2018-06-29 12:04:36 +02:00
parent 78d7902012
commit f42c6ad2b5

View File

@ -106,7 +106,7 @@ class BigchainDB(object):
response = self.post_transaction(transaction, mode)
return self._process_post_response(response.json(), mode)
def process_post_response(self, response, mode):
def _process_post_response(self, response, mode):
logger.debug(response)
if response.get('error') is not None:
return (500, 'Internal error')