From 439194daf622a02da5bf6544aac98068ad2f46b2 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Sun, 1 May 2016 22:50:11 +0200 Subject: [PATCH] Remove uneeded cursor parameter in postgresql drop_table Since changeset 9b2e0aac2d9c issue5516 review23001002 --- trytond/backend/postgresql/table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/backend/postgresql/table.py b/trytond/backend/postgresql/table.py index 8b9fa9362c..f5c70ad13f 100644 --- a/trytond/backend/postgresql/table.py +++ b/trytond/backend/postgresql/table.py @@ -463,7 +463,7 @@ class TableHandler(TableHandlerInterface): self._update_definitions(columns=True) @staticmethod - def drop_table(cursor, model, table, cascade=False): + def drop_table(model, table, cascade=False): cursor = Transaction().connection.cursor() cursor.execute('DELETE FROM ir_model_data ' 'WHERE model = \'%s\'' % model)