#14280 closed (fixed)
Duplicate deepcopy import in django/db/models/query.py
Reported by: | Carl Meyer | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Keywords: | sprintSep2010 | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In django/db/models/query.py, deepcopy is imported once from copy, and later from django.utils.copycompat. The duplicate was introduced by the multi-db merge (r11952), after the switch had been made to django.utils.copycompat only a few days earlier (r11901).
The copy.deepcopy import is higher in the file, so has no effect, but removing it could help avoid confusion in future.
Attachments (1)
Change History (4)
by , 14 years ago
Attachment: | 14280_r13817.diff added |
---|
comment:1 by , 14 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 14 years ago
Note:
See TracTickets
for help on using tickets.
(In [13877]) Fixed #14280 -- Fixed duplicate import of deepcopy. Thanks, Carl Meyer.