Opened 13 years ago

Closed 13 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

Description

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 by Simon Charette, 13 years ago

Resolution: needsinfo
Status: newclosed

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