summaryrefslogtreecommitdiff
path: root/happybase/batch.py
diff options
context:
space:
mode:
authorWouter Bolsterlee <uws@xs4all.nl>2013-05-03 20:18:58 +0200
committerWouter Bolsterlee <uws@xs4all.nl>2013-05-03 20:18:58 +0200
commit173d35dfcea076eedbdeb45fcc100b25be4260e9 (patch)
tree2c596676f52bdddcc67cdd4966476a1cbcc84535 /happybase/batch.py
parent77744335dd580cddbb7f6400674ba31db1ebb4d2 (diff)
downloadhappybase-173d35dfcea076eedbdeb45fcc100b25be4260e9.tar.gz
Always access Thrift client instance through connection
Diffstat (limited to 'happybase/batch.py')
-rw-r--r--happybase/batch.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/happybase/batch.py b/happybase/batch.py
index 744fb7b..e8bfef8 100644
--- a/happybase/batch.py
+++ b/happybase/batch.py
@@ -49,10 +49,10 @@ class Batch(object):
logger.debug("Sending batch for '%s' (%d mutations on %d rows)",
self._table.name, self._mutation_count, len(bms))
if self._timestamp is None:
- self._table.client.mutateRows(self._table.name, bms)
+ self._table.connection.client.mutateRows(self._table.name, bms)
else:
- self._table.client.mutateRowsTs(self._table.name, bms,
- self._timestamp)
+ self._table.connection.client.mutateRowsTs(
+ self._table.name, bms, self._timestamp)
self._reset_mutations()