r11709 uses invalid syntax on Python 2.4
|Reported by:||Knut Nesheim||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In r11709 try-except-finally is used in
django/core/mail/backends/console.py on line 20-33.
According to http://python.org/doc/2.4/ref/try.html only try-except and try-finally is valid in Python 2.4. In 2.5 this behavior is changed.
This causes Django to fail during installation, but operate correctly as long as the console mail backend isn't used.