Skip to content

Commit

Permalink
Merge pull request driftx#16 from thobbs/remove-consistency-fix
Browse files Browse the repository at this point in the history
Remove consistency fix
  • Loading branch information
thepaul committed May 4, 2011
2 parents 7b32051 + b238543 commit dfbe94c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telephus/client.py
Expand Up @@ -168,15 +168,15 @@ def remove(self, key=None, column_family=None, column=None, super_column=None,
cp = self._getpath(column_family, column, super_column)
timestamp = timestamp or self._time()
consistency = consistency or self.consistency
req = ManagedThriftRequest('remove', key, cp, timestamp, self.consistency)
req = ManagedThriftRequest('remove', key, cp, timestamp, consistency)
return self.manager.pushRequest(req, retries=retries)

@requirekwargs('key', 'column_family', 'column')
def remove_counter(self, key=None, column_family=None, column=None, super_column=None,
consistency=None, retries=None):
cp = self._getpath(column_family, column, super_column)
consistency = consistency or self.consistency
req = ManagedThriftRequest('remove_counter', key, cp, self.consistency)
req = ManagedThriftRequest('remove_counter', key, cp, consistency)
return self.manager.pushRequest(req, retries=retries)

@requirekwargs('key', 'column_family', 'mapping')
Expand Down

0 comments on commit dfbe94c

Please sign in to comment.