No longer need to workaround six issue/bug

Change-Id: If949f99ad23c49a70958c736949ee640346e60bd
This commit is contained in:
Joshua Harlow 2015-04-10 17:31:22 -07:00
parent cd3e5d8400
commit 3afa86440f
1 changed files with 1 additions and 7 deletions

View File

@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
import functools
from oslo_utils import reflection
import six
@ -102,11 +100,7 @@ def moved_class(new_class, old_class_name, old_module_name,
def decorator(f):
# Use the older functools until the following is available:
#
# https://bitbucket.org/gutworth/six/issue/105
@functools.wraps(f, assigned=("__name__", "__doc__"))
@six.wraps(f, assigned=("__name__", "__doc__"))
def wrapper(self, *args, **kwargs):
_utils.deprecation(out_message, stacklevel=stacklevel)
return f(self, *args, **kwargs)