Opened 15 years ago

Closed 15 years ago

#13657 closed (fixed)

Fix a SyntaxWarning (shows up on PyPy)

Reported by: Alex Gaynor Owned by: nobody
Component: Testing framework Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

global declerations should preceed assignment

Attachments (1)

django-syntax-warning.diff (724 bytes ) - added by Alex Gaynor 15 years ago.

Download all attachments as: .zip

Change History (2)

by Alex Gaynor, 15 years ago

Attachment: django-syntax-warning.diff added

comment:1 by Karen Tracey, 15 years ago

Resolution: fixed
Status: newclosed

(In [13325]) Fixed #13657: Moved global declaration before assignments to avoid a syntax warning. Thanks Alex.

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