Django

Code

Ticket #2326 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

[patch] contrib.auth.models catches exceptions wrongly

Reported by: mir@noris.de Assigned to: adrian
Milestone: Component: Contrib apps
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

It's quite trivial:

line 242:

            except ImportError, ImproperlyConfigured:

This will not catch ImproperlyConfigured?, you need () around it. See patch.

Attachments

auth-models-exception.diff (0.5 kB) - added by mir@ on 07/11/06 04:55:44.
promised patch

Change History

07/11/06 04:55:44 changed by mir@

  • attachment auth-models-exception.diff added.

promised patch

07/11/06 09:03:25 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

(In [3328]) Fixed #2326 -- Fixed exception catching in django.contrib.auth.models. Thanks, mir@noris.de


Add/Change #2326 ([patch] contrib.auth.models catches exceptions wrongly)




Change Properties
Action