diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-05-04 14:00:30 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-05-04 14:00:30 +0000 |
| commit | 5211f48ae3cc0d87a260dbf5c3ab8bdae664c4b6 (patch) | |
| tree | 2b50ac06dd30395e53e7649d2a813927ccaeed94 /django/core/management/sql.py | |
| parent | 7202eb8e3194c6d9c52780526871018205bd0858 (diff) | |
Fixed #12164 -- Removed the Python 2.3 compatibility imports and workarounds. Thanks to timo and claudep for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core/management/sql.py')
| -rw-r--r-- | django/core/management/sql.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/django/core/management/sql.py b/django/core/management/sql.py index feb932f330..695473dfa5 100644 --- a/django/core/management/sql.py +++ b/django/core/management/sql.py @@ -9,11 +9,6 @@ from django.db import models from django.db.models import get_models from django.db.backends.util import truncate_name -try: - set -except NameError: - from sets import Set as set # Python 2.3 fallback - def sql_create(app, style, connection): "Returns a list of the CREATE TABLE SQL statements for the given app." |
