Browse Source

[FIX] travis lint check

pull/203/head
archetipo 9 years ago
parent
commit
39da704535
  1. 1
      auto_backup/__init__.py
  2. 5
      auto_backup/__openerp__.py
  3. 2
      auto_backup/model/__init__.py
  4. 4
      auto_backup/model/backup_scheduler.py

1
auto_backup/__init__.py

@ -22,4 +22,3 @@
from . import model from . import model
from . import tests from . import tests

5
auto_backup/__openerp__.py

@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# OpenERP, Open Source Management Solution # OpenERP, Open Source Management Solution
@ -27,6 +27,7 @@
"VanRoey.be - Yenthe Van Ginneken, Agile Business Group," "VanRoey.be - Yenthe Van Ginneken, Agile Business Group,"
" Odoo Community Association (OCA)" " Odoo Community Association (OCA)"
), ),
'license': "AGPL-3",
"website": "http://www.vanroey.be/applications/bedrijfsbeheer/odoo", "website": "http://www.vanroey.be/applications/bedrijfsbeheer/odoo",
"category": "Tools", "category": "Tools",
"summary": "Backups data base", "summary": "Backups data base",
@ -37,6 +38,6 @@
"data/backup_data.xml", "data/backup_data.xml",
"security/ir.model.access.csv" "security/ir.model.access.csv"
], ],
"active": False,
"application": True,
"installable": True "installable": True
} }

2
auto_backup/model/__init__.py

@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# #
# OpenERP, Open Source Management Solution # OpenERP, Open Source Management Solution

4
auto_backup/model/backup_scheduler.py

@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
############################################################################## ##############################################################################
# OpenERP, Open Source Management Solution # OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
@ -45,7 +45,7 @@ def execute(connector, method, *args):
return res return res
class db_backup(models.Model):
class DbBackup(models.Model):
_name = 'db.backup' _name = 'db.backup'
def get_connection_uri(self, host, port, secure=False): def get_connection_uri(self, host, port, secure=False):

Loading…
Cancel
Save