Opened 7 years ago

Closed 7 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: UI/UX:

Description

global declerations should preceed assignment

Attachments (1)

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

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by Alex Gaynor

Attachment: django-syntax-warning.diff added

comment:1 Changed 7 years ago by Karen Tracey

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