Skip to content

Commit

Permalink
Merge pull request wolph#1 from outself/patch-1
Browse files Browse the repository at this point in the history
fix bug: returns connection instance instead concrete class
  • Loading branch information
wolph committed Oct 7, 2011
2 parents 07b9d11 + 2911f08 commit 93f117e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statsd/client.py
Expand Up @@ -54,7 +54,7 @@ def get_client(self, name=None, class_=None):
if not class_:
class_ = self.__class__

return self.__class__(
return class_(
name=name,
connection=self.connection,
)
Expand Down

0 comments on commit 93f117e

Please sign in to comment.