diff options
author | coagulant <baryshev@gmail.com> | 2013-11-03 01:02:56 +0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2013-11-02 18:20:39 -0400 |
commit | 3bc0d46a840f17dce561daca8a6b8690b2cf5d0a (patch) | |
tree | c25954abbde0c4c06af7f862effcd351047cddf9 /django/db/backends/postgresql_psycopg2/operations.py | |
parent | 2a03a9a9a1c4517be75e72899e545b0bc9dd0688 (diff) | |
download | django-3bc0d46a840f17dce561daca8a6b8690b2cf5d0a.tar.gz |
Fixed all E261 warnings
Diffstat (limited to 'django/db/backends/postgresql_psycopg2/operations.py')
-rw-r--r-- | django/db/backends/postgresql_psycopg2/operations.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/db/backends/postgresql_psycopg2/operations.py b/django/db/backends/postgresql_psycopg2/operations.py index 723453c9c5..b9496868b0 100644 --- a/django/db/backends/postgresql_psycopg2/operations.py +++ b/django/db/backends/postgresql_psycopg2/operations.py @@ -95,7 +95,7 @@ class DatabaseOperations(BaseDatabaseOperations): def quote_name(self, name): if name.startswith('"') and name.endswith('"'): - return name # Quoting once is enough. + return name # Quoting once is enough. return '"%s"' % name def quote_parameter(self, value): @@ -175,7 +175,7 @@ class DatabaseOperations(BaseDatabaseOperations): style.SQL_KEYWORD('IS NOT'), style.SQL_KEYWORD('FROM'), style.SQL_TABLE(qn(model._meta.db_table)))) - break # Only one AutoField is allowed per model, so don't bother continuing. + break # Only one AutoField is allowed per model, so don't bother continuing. for f in model._meta.many_to_many: if not f.rel.through: output.append("%s setval(pg_get_serial_sequence('%s','%s'), coalesce(max(%s), 1), max(%s) %s null) %s %s;" % |