Opened 4 years ago

Closed 4 years ago

#17859 closed Uncategorized (needsinfo)

Undefined variable from import: cursor

Reported by: 775725322@… Owned by: nobody
Component: Uncategorized Version: 1.3
Severity: Normal Keywords: Undefined variable from import cursor
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


1def graph_templates(host_id):
2from django.db import connection
3 cursor=connection.cursor()

It marked an error at line 3 :Undefined variable from import: cursor

Change History (1)

comment:1 Changed 4 years ago by charettes

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to needsinfo
  • Status changed from new to closed

Closing as needsinfo since I cannot reproduce with available details.

Please provide a description of the environment that triggered the issue and a full traceback.

Note: See TracTickets for help on using tickets.
Back to Top