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

query checker getHeirValue doesn't find current name created in queryTxt #24

Closed ancho85 closed 9 years ago

ancho85 commented 9 years ago
def repla(txt):
  txt = txt.replace(":1", "Table")
  return txt

query7 = self.getQuery()
query7.sql = repla(query7.sql)
query7.open()

getQuery is inherited and the visitors create a queryTxt key, but the created key is "query", and then, getHeirValue checks for "is query7 in queryTxt?".