diff options
| author | Wouter Bolsterlee <uws@xs4all.nl> | 2013-05-03 20:18:58 +0200 |
|---|---|---|
| committer | Wouter Bolsterlee <uws@xs4all.nl> | 2013-05-03 20:18:58 +0200 |
| commit | 173d35dfcea076eedbdeb45fcc100b25be4260e9 (patch) | |
| tree | 2c596676f52bdddcc67cdd4966476a1cbcc84535 /happybase/batch.py | |
| parent | 77744335dd580cddbb7f6400674ba31db1ebb4d2 (diff) | |
| download | happybase-173d35dfcea076eedbdeb45fcc100b25be4260e9.tar.gz | |
Always access Thrift client instance through connection
Diffstat (limited to 'happybase/batch.py')
| -rw-r--r-- | happybase/batch.py | 6 |
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() |
