Opened 14 years ago
Closed 14 years ago
#17859 closed Uncategorized (needsinfo)
Undefined variable from import: cursor
| Reported by: | 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
Note:
See TracTickets
for help on using tickets.
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.