diff options
author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-09-02 12:10:03 +0200 |
---|---|---|
committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-09-02 12:11:16 +0200 |
commit | 868b4c921c3c129085842aafc1857fccdd04f529 (patch) | |
tree | 1599ecee5438c0150a6b0158c217f7efab446695 /django/db/backends/mysql/compiler.py | |
parent | 365c3e8b73eab825a8ecd0cf8046e1a0824ccd45 (diff) | |
download | django-868b4c921c3c129085842aafc1857fccdd04f529.tar.gz |
Used six.moves.zip_longest, new in six 1.4.0.
Diffstat (limited to 'django/db/backends/mysql/compiler.py')
-rw-r--r-- | django/db/backends/mysql/compiler.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/django/db/backends/mysql/compiler.py b/django/db/backends/mysql/compiler.py index ee7fbe2575..609573442c 100644 --- a/django/db/backends/mysql/compiler.py +++ b/django/db/backends/mysql/compiler.py @@ -1,9 +1,5 @@ -try: - from itertools import zip_longest -except ImportError: - from itertools import izip_longest as zip_longest - from django.db.models.sql import compiler +from django.utils.six.moves import zip_longest class SQLCompiler(compiler.SQLCompiler): |