Browse Source

Merge pull request #58 from legalsylvain/8.0-pylint

[FIX] pylint
pull/59/head
Sylvain LE GAL 10 years ago
parent
commit
9ed65e4f12
  1. 2
      help_online/models/export_help_wizard.py
  2. 2
      web_export_view/__init__.py
  3. 2
      web_export_view/controllers/__init__.py

2
help_online/models/export_help_wizard.py

@ -292,7 +292,7 @@ class ExportHelpWizard(models.TransientModel):
backup_file = open(filename, backup_file = open(filename,
'w') 'w')
backup_file.write(xml_data) backup_file.write(xml_data)
backup_file.close
backup_file.close()
except: except:
_logger.warning(_('Unable to write autobackup file ' _logger.warning(_('Unable to write autobackup file '
'in given directory: %s' 'in given directory: %s'

2
web_export_view/__init__.py

@ -18,4 +18,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################## ##############################################################################
import controllers
from . import controllers

2
web_export_view/controllers/__init__.py

@ -18,4 +18,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################## ##############################################################################
import controllers
from . import controllers
Loading…
Cancel
Save