Aurélien Bompard has proposed merging lp:~abompard/postorius/django16 into 
lp:postorius.

Requested reviews:
  Mailman Coders (mailman-coders)

For more details, see:
https://code.launchpad.net/~abompard/postorius/django16/+merge/257517

Very simple fix for Django 1.6 compatibility (found because the tests failed).
-- 
Your team Mailman Coders is requested to review the proposed merge of 
lp:~abompard/postorius/django16 into lp:postorius.
=== modified file 'src/postorius/fieldset_forms.py'
--- src/postorius/fieldset_forms.py	2015-04-16 17:01:31 +0000
+++ src/postorius/fieldset_forms.py	2015-04-27 11:59:41 +0000
@@ -19,7 +19,10 @@
 from django.forms import Form
 from django.utils import safestring
 from django.forms.forms import BoundField
-from django.forms.utils import ErrorList
+try:
+    from django.forms.utils import ErrorList
+except ImportError:
+    from django.forms.util import ErrorList # Django 1.6
 
 
 class FieldsetError(Exception):

_______________________________________________
Mailman-coders mailing list
[email protected]
https://mail.python.org/mailman/listinfo/mailman-coders

Reply via email to