Skip to content

Commit

Permalink
Correctly capture method name in connection info
Browse files Browse the repository at this point in the history
  • Loading branch information
thobbs committed Mar 28, 2012
1 parent 8737061 commit ed4cc95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycassa/pool.py
Expand Up @@ -109,7 +109,7 @@ def _replace(self, new_conn_wrapper):
def _retry(cls, f):
def new_f(self, *args, **kwargs):
self.operation_count += 1
self.info['request'] = {'method':'f', 'args':args, 'kwargs':kwargs}
self.info['request'] = {'method': f.__name__, 'args': args, 'kwargs': kwargs}
try:
allow_retries = kwargs.pop('allow_retries', True)
if kwargs.pop('reset', False):
Expand Down

0 comments on commit ed4cc95

Please sign in to comment.