From df8d8d4292684d6ffa7474f1e201aed486f02b53 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 28 Mar 2016 18:33:29 -0400 Subject: Fixed E128 flake8 warnings in django/. --- django/db/backends/postgresql/operations.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'django/db/backends/postgresql/operations.py') diff --git a/django/db/backends/postgresql/operations.py b/django/db/backends/postgresql/operations.py index 41d3a7a230..f0715a24e3 100644 --- a/django/db/backends/postgresql/operations.py +++ b/django/db/backends/postgresql/operations.py @@ -139,11 +139,11 @@ class DatabaseOperations(BaseDatabaseOperations): # This will be the case if it's an m2m using an autogenerated # intermediate table (see BaseDatabaseIntrospection.sequence_list) column_name = 'id' - sql.append("%s setval(pg_get_serial_sequence('%s','%s'), 1, false);" % - (style.SQL_KEYWORD('SELECT'), + sql.append("%s setval(pg_get_serial_sequence('%s','%s'), 1, false);" % ( + style.SQL_KEYWORD('SELECT'), style.SQL_TABLE(self.quote_name(table_name)), - style.SQL_FIELD(column_name)) - ) + style.SQL_FIELD(column_name), + )) return sql def tablespace_sql(self, tablespace, inline=False): -- cgit v1.2.1