Skip to content
Browse files

Merge pull request #16 from thobbs/remove-consistency-fix

Remove consistency fix
  • Loading branch information...
2 parents 7b32051 + b238543 commit dfbe94ca26d83a8cc95ec877462e9443934c83d3 @thepaul thepaul committed May 4, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 telephus/client.py
View
4 telephus/client.py
@@ -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')

0 comments on commit dfbe94c

Please sign in to comment.
Something went wrong with that request. Please try again.