From b7a6cabce0696992961fedefa91380f4d8c6690d Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Fri, 24 Jan 2014 01:34:09 -0500 Subject: [PATCH] 0.8.0 release. --- injector.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/injector.py b/injector.py index 5705961..cef2ccf 100644 --- a/injector.py +++ b/injector.py @@ -14,17 +14,18 @@ :license: BSD """ -import itertools import functools import inspect +import itertools import logging import sys -import types import threading +import types import warnings from abc import ABCMeta, abstractmethod from collections import namedtuple + try: NullHandler = logging.NullHandler except AttributeError: @@ -33,7 +34,7 @@ except AttributeError: pass __author__ = 'Alec Thomas ' -__version__ = '0.8.0c1' +__version__ = '0.8.0' __version_tag__ = '' log = logging.getLogger('injector') @@ -474,8 +475,8 @@ class ScopeDecorator(object): binding = getattr(cls, '__binding__', None) if binding: new_binding = Binding(interface=binding.interface, - provider=binding.provider, - scope=self.scope) + provider=binding.provider, + scope=self.scope) setattr(cls, '__binding__', new_binding) return cls