diff --git a/CHANGELOG.md b/CHANGELOG.md index b3d2138..415eb56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ Changelog ========= +0.6 (2017-04-15) +---------------- + +Bugfixes: +* Check environment variable again before submitting +* Don't log full report on INFO (make that DEBUG) + 0.5 (2016-03-04) ---------------- diff --git a/setup.py b/setup.py index 171c508..232d849 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ with open('README.rst') as fp: description = fp.read() setup(name='usagestats', - version='0.5', + version='0.6', py_modules=['usagestats'], description="Anonymous usage statistics collecter", install_requires=['requests'], diff --git a/usagestats.py b/usagestats.py index 7151118..1ce1bae 100644 --- a/usagestats.py +++ b/usagestats.py @@ -6,7 +6,7 @@ import sys -__version__ = '0.5' +__version__ = '0.6' logger = logging.getLogger('usagestats') @@ -346,7 +346,7 @@ def generator(): fullname = os.path.join(self.location, old_filename) try: with open(fullname, 'rb') as fp: - # `data=f` would make requests stream, which is currently + # `data=fp` would make requests stream, which is currently # not a good idea (WSGI chokes on it) r = requests.post(self.drop_point, data=fp.read(), timeout=1, verify=self.ssl_verify)