Pull in a newer version of six and use it for metaclasses.
Review Request #4922 — Created Nov. 8, 2013 and submitted — Latest diff uploaded
Pull in a newer version of six and use it for metaclasses.
The version of six shipped with Django 1.5 is missing some important
compatibility primitives, like theadd_metaclass
decorator. I've pulled the
copy shipped with Django 1.6 into our oldutil/compat
directory (which was
empty as of a few days ago) to use until we bump our dependency.For now, this is used to handle the extension hook metaclasses.
- Ran djblets unit tests
- Ran Review Board unit tests
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.
orig
1
2
djblets/extensions/hooks.py |
---|
djblets/extensions/tests.py |
---|
djblets/util/compat/six.py |
---|