diff --git a/django/contrib/admin/actions.py b/django/contrib/admin/actions.py index 69374626cc..b75c91b75a 100644 --- a/django/contrib/admin/actions.py +++ b/django/contrib/admin/actions.py @@ -12,10 +12,6 @@ from django.utils.html import escape from django.utils.safestring import mark_safe from django.utils.text import capfirst from django.utils.translation import ugettext_lazy, ugettext as _ -try: - set -except NameError: - from sets import Set as set # Python 2.3 fallback def delete_selected(modeladmin, request, queryset): """ diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py index 6334a311da..1f8ff6dbd1 100644 --- a/django/contrib/admin/options.py +++ b/django/contrib/admin/options.py @@ -23,10 +23,6 @@ from django.utils.text import capfirst, get_text_list from django.utils.translation import ugettext as _ from django.utils.translation import ungettext, ugettext_lazy from django.utils.encoding import force_unicode -try: - set -except NameError: - from sets import Set as set # Python 2.3 fallback HORIZONTAL, VERTICAL = 1, 2 # returns the