Browse Source

[FIX] travis lint check

pull/620/head
archetipo 9 years ago
committed by Dave Lasley
parent
commit
60a8122b5d
  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 tests

5
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
}

2
auto_backup/model/__init__.py

@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
# -*- coding: utf-8 -*-
##############################################################################
#
# 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
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). 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):

Loading…
Cancel
Save