[REM] unused variable

bzr revid: xmo@openerp.com-20140214143724-fcxy9tn8gmodi223
This commit is contained in:
Xavier Morel 2014-02-14 15:37:24 +01:00
parent 8e63677c90
commit 2921fa339d
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ def get_test_modules(module):
# Try to import the module
module = 'openerp.addons.' + module + '.tests'
try:
m = __import__(module)
__import__(module)
except Exception, e:
# If module has no `tests` sub-module, no problem.
if str(e) != 'No module named tests':