← Back to team overview

openerp-india team mailing list archive

[Bug 1228821] Re: [7.0] Error E0602 Undefined variable with pylint

 

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 1 (openerp-dev-addons1)

** Summary changed:

- [7.0] Error E0602 Undefined variable with pylint
+ [trunk/7.0] Error E0602 Undefined variable with pylint

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1228821

Title:
  [trunk/7.0] Error E0602 Undefined variable with pylint

Status in OpenERP Addons (modules):
  Confirmed
Status in OpenERP Addons 7.0 series:
  Fix Committed

Bug description:
  We execute a global pylint script in addons and filter E0602 Undefined
  variable and we get this:

  ******70-addons/document_webdav/test_davclient.py
  ******* Module document_webdav.test_davclient
  E0602: 58,8:PersistentTransport.__init__: Undefined variable 'log'
  ******70-addons/report_webkit/webkit_report.py
  ******* Module report_webkit.webkit_report
  E0602: 64,19:WebKitParser: Undefined variable 'report_sxw'
  E0602: 72,8:WebKitParser.__init__: Undefined variable 'report_sxw'
  ******70-addons/account_followup/report/account_followup_print.py
  ******* Module account_followup.report.account_followup_print
  E0602: 86,18:report_rappel._get_text: Undefined variable 'osv'
  E0602: 86,33:report_rappel._get_text: Undefined variable '_'
  E0602: 86,45:report_rappel._get_text: Undefined variable '_'
  ******70-addons/base_report_designer/plugin/openerp_report_designer/bin/script/ConvertFieldsToBraces.py
  ******* Module script.ConvertFieldsToBraces
  E0602: 60,4: Undefined variable 'g_ImplementationHelper'
  ******70-addons/base_report_designer/plugin/openerp_report_designer/bin/script/About.py
  ******* Module script.About
  E0602: 86,4: Undefined variable 'g_ImplementationHelper'
  ******70-addons/base_report_designer/plugin/openerp_report_designer/bin/script/Expression.py
  ******* Module script.Expression
  E0602: 38,8:Expression.__init__: Undefined variable 'LoginTest'
  E0602: 91,4: Undefined variable 'g_ImplementationHelper'
  ******70-addons/base_report_designer/plugin/openerp_report_designer/bin/script/NewReport.py
  ******* Module script.NewReport
  E0602: 93,4: Undefined variable 'g_ImplementationHelper'
  ******70-addons/base_report_designer/plugin/openerp_report_designer/bin/script/lib/functions.py
  ******* Module script.lib.functions
  E0602: 47,24:genTree: Undefined variable 'url'
  ******70-addons/base_report_designer/plugin/openerp_report_designer/bin/script/lib/tools.py
  ******* Module script.lib.tools
  E0602: 26,11:get_absolute_file_path: Undefined variable 'os'
  ******70-addons/account/report/account_print_overdue.py
  ******* Module account.report.account_print_overdue
  E0602: 45,16:Overdue._tel_get: Undefined variable 'res_partner_address'
  ******70-addons/account/wizard/account_financial_report.py
  ******* Module account.wizard.account_financial_report
  E0602: 71,37:accounting_report._build_comparison_context: Undefined variable '_'
  E0602: 71,49:accounting_report._build_comparison_context: Undefined variable '_'
  ******70-addons/document_ftp/ftpserver/authorizer.py
  ******* Module document_ftp.ftpserver.authorizer
  E0602: 51,18:authorizer.has_perm: Undefined variable 'pooler'
  E0602: 52,14:authorizer.has_perm: Undefined variable 'security'
  ******70-addons/mrp_repair/wizard/make_invoice.py
  ******* Module mrp_repair.wizard.make_invoice
  E0602: 60,46:make_invoice.make_invoices: Undefined variable 'Fals'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1228821/+subscriptions


References