From 4965c0c0f7ce8607ee20b2fe1f007764c532f212 Mon Sep 17 00:00:00 2001 From: Cyril Sester Date: Fri, 15 Aug 2014 11:44:24 +0200 Subject: [PATCH] PEP8 fixes on migration script --- .../migrations/0.2/post-consolidation.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/account_banking_sepa_direct_debit/migrations/0.2/post-consolidation.py b/account_banking_sepa_direct_debit/migrations/0.2/post-consolidation.py index f183f33cc..2e93953dd 100644 --- a/account_banking_sepa_direct_debit/migrations/0.2/post-consolidation.py +++ b/account_banking_sepa_direct_debit/migrations/0.2/post-consolidation.py @@ -4,8 +4,8 @@ # Copyright (C) 2014 Compassion CH () # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or +# it under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, @@ -18,7 +18,7 @@ # ############################################################################## -""" +""" This script covers the migration of the 0.1 to 0.2 version of sepa mandates. As table names changed, we want to migrate values from sdd_mandate table to newly created account_banking_mandate. We also copy foreign keys in invoice @@ -27,7 +27,9 @@ Finally, we remove useless fields (sdd_mandate_id) and obsolete table (sdd_mandate). """ -__name__ = "account.banking.sepa.direct_debit:: Move sdd_mandate data to account_banking_mandate" +__name__ = "account.banking.sepa.direct_debit:: Move sdd_mandate data to " \ + "account_banking_mandate" + def migrate(cr, installed_version): query = "INSERT INTO account_banking_mandate " \