diff options
| author | Claude Paroz <claude@2xlibre.net> | 2014-05-15 19:41:55 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2014-05-15 20:01:31 +0200 |
| commit | e8a7436941f56d27b0096c93ef4ea1da13a5b95f (patch) | |
| tree | 662d34783acc05a7f18e80bb44873696b7741128 /django | |
| parent | c5185172a6645714a1b9df53728c530e2d0d2f2e (diff) | |
[1.7.x] Harmonized some PEP 0263 coding preambles
Backport of e520a73ee from master.
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/flatpages/tests/test_models.py | 2 | ||||
| -rw-r--r-- | django/contrib/gis/tests/layermap/tests.py | 2 | ||||
| -rw-r--r-- | django/core/checks/__init__.py | 2 | ||||
| -rw-r--r-- | django/core/management/commands/migrate.py | 2 | ||||
| -rw-r--r-- | django/core/management/commands/sqlmigrate.py | 2 | ||||
| -rw-r--r-- | django/db/migrations/writer.py | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/django/contrib/flatpages/tests/test_models.py b/django/contrib/flatpages/tests/test_models.py index af12c420e0..f091f3e0ea 100644 --- a/django/contrib/flatpages/tests/test_models.py +++ b/django/contrib/flatpages/tests/test_models.py @@ -1,4 +1,4 @@ -# coding: utf-8 +# -*- coding: utf-8 -*- from __future__ import unicode_literals diff --git a/django/contrib/gis/tests/layermap/tests.py b/django/contrib/gis/tests/layermap/tests.py index df6f22c38a..ff00db3748 100644 --- a/django/contrib/gis/tests/layermap/tests.py +++ b/django/contrib/gis/tests/layermap/tests.py @@ -1,4 +1,4 @@ -# coding: utf-8 +# -*- coding: utf-8 -*- from __future__ import unicode_literals from copy import copy diff --git a/django/core/checks/__init__.py b/django/core/checks/__init__.py index cd4d5cebea..0d2780abd3 100644 --- a/django/core/checks/__init__.py +++ b/django/core/checks/__init__.py @@ -1,4 +1,4 @@ -# -*- coding: utf8 -*- +# -*- coding: utf-8 -*- from __future__ import unicode_literals from .messages import (CheckMessage, diff --git a/django/core/management/commands/migrate.py b/django/core/management/commands/migrate.py index 2451e60b72..aab656bb2e 100644 --- a/django/core/management/commands/migrate.py +++ b/django/core/management/commands/migrate.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# -*- coding: utf-8 -*- from __future__ import unicode_literals from optparse import make_option from collections import OrderedDict diff --git a/django/core/management/commands/sqlmigrate.py b/django/core/management/commands/sqlmigrate.py index e828733f2c..e8ced69c21 100644 --- a/django/core/management/commands/sqlmigrate.py +++ b/django/core/management/commands/sqlmigrate.py @@ -1,4 +1,4 @@ -# encoding: utf8 +# -*- coding: utf-8 -*- from __future__ import unicode_literals from optparse import make_option diff --git a/django/db/migrations/writer.py b/django/db/migrations/writer.py index 0e2eeef85a..da6aed4308 100644 --- a/django/db/migrations/writer.py +++ b/django/db/migrations/writer.py @@ -304,7 +304,7 @@ class MigrationWriter(object): MIGRATION_TEMPLATE = """\ -# encoding: utf8 +# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations |
