Closed fernandahf closed 3 years ago
Description of the issue/feature this PR addresses:
In python versions above 3.5, following error occurs when try to get modname from node.
modname
AttributeError: 'Import' object has no attribute 'modname'
Current behavior before PR: Error caused by try to get modname from node from Import object.
Import
Desired behavior after PR is merged: No errors shown when try to get modname from node.
Fix https://github.com/OCA/pylint-odoo/issues/318
Description of the issue/feature this PR addresses:
In python versions above 3.5, following error occurs when try to get
modname
from node.AttributeError: 'Import' object has no attribute 'modname'
Current behavior before PR: Error caused by try to get
modname
from node fromImport
object.Desired behavior after PR is merged: No errors shown when try to get
modname
from node.Fix https://github.com/OCA/pylint-odoo/issues/318