[FIX] undefined variables (potential nameerror)

Backport 9ec0455abc and
6a601fe6dc as they fixed various
possible NameError but did so in later sub-releases.
This commit is contained in:
Xavier Morel
2018-07-19 13:37:10 +02:00
parent bc12428e17
commit 9f8eae34d1
11 changed files with 19 additions and 14 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from lxml import etree
from odoo.tools.misc import file_open
from odoo.exceptions import UserError
def check_with_xsd(tree_or_str, stream):
raise UserError("Method 'check_with_xsd' deprecated ")