diff --git a/zds/notification/receivers.py b/zds/notification/receivers.py index 7f4e7d30da..aabeb813ee 100644 --- a/zds/notification/receivers.py +++ b/zds/notification/receivers.py @@ -1,11 +1,7 @@ +from functools import wraps import inspect import logging -try: - from functools import wraps -except ImportError: - from django.utils.functional import wraps - from django.contrib.auth.models import User from django.contrib.contenttypes.models import ContentType from django.db import DatabaseError