Skip to content

Commit

Permalink
Supprime un import nécessaire uniquement pour Python < 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
philippemilink committed Jun 24, 2024
1 parent e1f9d0f commit cc28405
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions zds/notification/receivers.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit cc28405

Please sign in to comment.