[Python-modules-commits] [python-statsd] 01/03: Import python-statsd_3.2.1.orig.tar.gz
Filippo Giunchedi
filippo at moszumanska.debian.org
Thu Nov 19 19:14:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
filippo pushed a commit to tag debian/3.2.1-1
in repository python-statsd.
commit dc6c2e2b95e1c36ca3e2c145e70f67405ed191b2
Author: Filippo Giunchedi <filippo at debian.org>
Date: Thu Nov 19 19:09:10 2015 +0000
Import python-statsd_3.2.1.orig.tar.gz
---
CHANGES | 6 ++++++
docs/conf.py | 2 +-
setup.py | 2 +-
statsd/__init__.py | 2 +-
statsd/client.py | 8 ++++----
5 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/CHANGES b/CHANGES
index 831d06b..57976f8 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,12 @@
Statsd Changelog
================
+Version 3.2.1
+-------------
+
+- Restore `StatsClient(host, port, prefix)` argument order.
+
+
Version 3.2
-----------
diff --git a/docs/conf.py b/docs/conf.py
index 419a1da..44fc54e 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -50,7 +50,7 @@ copyright = u'2015, James Socol'
# The short X.Y version.
version = '3.2'
# The full version, including alpha/beta/rc tags.
-release = '3.2.0'
+release = '3.2.1'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff --git a/setup.py b/setup.py
index 2a49f38..38e4338 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ from setuptools import find_packages, setup
setup(
name='statsd',
- version='3.2',
+ version='3.2.1',
description='A simple statsd client.',
long_description=open('README.rst').read(),
author='James Socol',
diff --git a/statsd/__init__.py b/statsd/__init__.py
index ea37107..e3de0a9 100644
--- a/statsd/__init__.py
+++ b/statsd/__init__.py
@@ -4,6 +4,6 @@ from .client import StatsClient
from .client import TCPStatsClient
-VERSION = (3, 2, 0)
+VERSION = (3, 2, 1)
__version__ = '.'.join(map(str, VERSION))
__all__ = ['StatsClient', 'TCPStatsClient']
diff --git a/statsd/client.py b/statsd/client.py
index 09ebd2d..0ac8fa9 100644
--- a/statsd/client.py
+++ b/statsd/client.py
@@ -131,8 +131,8 @@ class StatsClientBase(object):
class StatsClient(StatsClientBase):
"""A client for statsd."""
- def __init__(self, host='localhost', port=8125, ipv6=False, prefix=None,
- maxudpsize=512):
+ def __init__(self, host='localhost', port=8125, prefix=None,
+ maxudpsize=512, ipv6=False):
"""Create a new client."""
fam = socket.AF_INET6 if ipv6 else socket.AF_INET
family, _, _, _, addr = socket.getaddrinfo(
@@ -157,8 +157,8 @@ class StatsClient(StatsClientBase):
class TCPStatsClient(StatsClientBase):
"""TCP version of StatsClient."""
- def __init__(self, host='localhost', port=8125, ipv6=False, prefix=None,
- timeout=None):
+ def __init__(self, host='localhost', port=8125, prefix=None,
+ timeout=None, ipv6=False):
"""Create a new client."""
self._host = host
self._port = port
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-statsd.git
More information about the Python-modules-commits
mailing list