Skip to content

Commit

Permalink
[FIX] pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Nemry committed Dec 3, 2014
1 parent 25ee0ff commit 01da73c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions base_field_serialized/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
import test_serialized
from test_serialized import TestBaseFieldSerialized
from . import test_serialized
2 changes: 1 addition & 1 deletion disable_openerp_online/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
import model
from . import model

from openerp.tools.misc import upload_data_thread
upload_data_thread.run = lambda x: None
2 changes: 1 addition & 1 deletion disable_openerp_online/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
import publisher_warranty_contract
from . import publisher_warranty_contract
2 changes: 1 addition & 1 deletion mass_editing/wizard/mass_editing_wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def fields_view_get(
etree.SubElement(xml_group, 'field', {
'name': "selection__" + field.name,
'colspan': '2',
'colspan': '2'})
})
etree.SubElement(xml_group, 'field', {
'name': field.name, 'nolabel': '1',
'attrs': (
Expand Down
2 changes: 1 addition & 1 deletion users_ldap_populate/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import model
from . import model
2 changes: 1 addition & 1 deletion users_ldap_populate/model/users_ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def action_populate(self, cr, uid, ids, context=None):
if not conf['create_user']:
continue
attribute_match = re.search(
'([a-zA-Z_]+)=\%s', conf['ldap_filter'])
r'([a-zA-Z_]+)=\%s', conf['ldap_filter'])
if attribute_match:
login_attr = attribute_match.group(1)
else:
Expand Down

0 comments on commit 01da73c

Please sign in to comment.