From b9f0af2d3cb75fe6fe3da7e1cd17bcd79952f69f Mon Sep 17 00:00:00 2001 From: archetipo Date: Mon, 2 Nov 2015 13:15:36 +0100 Subject: [PATCH] [FIX] travis lint check --- auto_backup/__init__.py | 1 - auto_backup/__openerp__.py | 5 +++-- auto_backup/model/__init__.py | 2 +- auto_backup/model/backup_scheduler.py | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/auto_backup/__init__.py b/auto_backup/__init__.py index 511803e75..a8f54341e 100644 --- a/auto_backup/__init__.py +++ b/auto_backup/__init__.py @@ -22,4 +22,3 @@ from . import model from . import tests - diff --git a/auto_backup/__openerp__.py b/auto_backup/__openerp__.py index e16162ff9..72f4389b7 100644 --- a/auto_backup/__openerp__.py +++ b/auto_backup/__openerp__.py @@ -1,4 +1,4 @@ -# -*- encoding: utf-8 -*- +# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution @@ -27,6 +27,7 @@ "VanRoey.be - Yenthe Van Ginneken, Agile Business Group," " Odoo Community Association (OCA)" ), + 'license': "AGPL-3", "website": "http://www.vanroey.be/applications/bedrijfsbeheer/odoo", "category": "Tools", "summary": "Backups data base", @@ -37,6 +38,6 @@ "data/backup_data.xml", "security/ir.model.access.csv" ], - "active": False, + "application": True, "installable": True } diff --git a/auto_backup/model/__init__.py b/auto_backup/model/__init__.py index a5a7ebdd8..995d7f02b 100644 --- a/auto_backup/model/__init__.py +++ b/auto_backup/model/__init__.py @@ -1,4 +1,4 @@ -# -*- encoding: utf-8 -*- +# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution diff --git a/auto_backup/model/backup_scheduler.py b/auto_backup/model/backup_scheduler.py index 6476131ca..40d939b3a 100644 --- a/auto_backup/model/backup_scheduler.py +++ b/auto_backup/model/backup_scheduler.py @@ -1,4 +1,4 @@ -# -*- encoding: utf-8 -*- +# -*- coding: utf-8 -*- ############################################################################## # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (). All Rights Reserved @@ -45,7 +45,7 @@ def execute(connector, method, *args): return res -class db_backup(models.Model): +class DbBackup(models.Model): _name = 'db.backup' def get_connection_uri(self, host, port, secure=False):