Opened 18 years ago
Closed 18 years ago
#2326 closed defect (fixed)
[patch] contrib.auth.models catches exceptions wrongly
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Contrib apps | Version: | dev |
Severity: | normal | 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
It's quite trivial:
line 242:
except ImportError, ImproperlyConfigured:
This will not catch ImproperlyConfigured, you need () around it. See patch.
Attachments (1)
Change History (2)
by , 18 years ago
Attachment: | auth-models-exception.diff added |
---|
comment:1 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
promised patch