#8673 closed (fixed)
Missing import in django.core.files.move
Reported by: | vung | Owned by: | nobody |
---|---|---|---|
Component: | File uploads/storage | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In [8493] the copied copystat
in django.core.files.move uses stat.S_IMODE
, but stat
is not imported.
Attachments (2)
Change History (5)
by , 16 years ago
Attachment: | copystat-missing-import.diff added |
---|
comment:1 by , 16 years ago
Triage Stage: | Unreviewed → Accepted |
---|
by , 16 years ago
Attachment: | copystat-missing-import-2.diff added |
---|
Moved the import in the exception handling block as suggested by julien
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Just a small suggestion, maybe the import should be under the
ImportError
block: