ancho85 / pylint-playero-plugin

A plugin for pylint to work with Playero ERP
GNU General Public License v2.0
0 stars 0 forks source link

Transaction's buildRecordModule throws AttributeError when pylinting #14

Closed ancho85 closed 10 years ago

ancho85 commented 10 years ago

"AttributeError: 'int' object has no attribute 'statement' On Transaction.py pylint process, buildRecordModule on

class Transaction(object):
    Origin = {}
    Origin["SalesOrder"] = 0 #LINE THROWING THE PROBLEM

Playero.py's plugin issue detected at buildRecordModule function:

module.locals.update([(attrs, {0:None}) for attrs in attributes if not attrs.startswith("_")])