From d30ff4e1b095c012e630f6b24f488c303985b1e1 Mon Sep 17 00:00:00 2001 From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl> Date: Mon, 14 Aug 2017 10:50:09 +0200 Subject: [PATCH] again --- CHANGELOG.md | 5 +++++ satella/coding/typecheck.py | 4 ++-- setup.py | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 550f8774..670449e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ + +## v2.0.10 + +* bugfix release + ## v2.0.9 * `satella.coding.merge_dicts` added diff --git a/satella/coding/typecheck.py b/satella/coding/typecheck.py index a0f134e3..0adc0c17 100644 --- a/satella/coding/typecheck.py +++ b/satella/coding/typecheck.py @@ -281,9 +281,9 @@ def typed(*t_args, **t_kwargs): try: fun.im_class except AttributeError: - cargs = args + cargs = t_args else: - cargs = args[1:] + cargs = t_args[1:] for argument, typedescr in zip(cargs, t_args): if typedescr is not None: diff --git a/setup.py b/setup.py index ae58bf04..804cddc3 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup(name='satella', - version='2.0.9', + version='2.0.10', description=u'Utilities for writing servers in Python', author=u'Piotr MaĹlanka', author_email='piotrm@smok.co', -- GitLab