Pull in a newer version of six and use it for metaclasses.

Review Request #4922 — Created Nov. 8, 2013 and submitted

Information

Djblets
master

Reviewers

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 the add_metaclass decorator. I've pulled the
copy shipped with Django 1.6 into our old util/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
Description From Last Updated

This might be very confusing without the import in the example.

chipx86chipx86
chipx86
  1. 
      
  2. djblets/extensions/hooks.py (Diff revision 1)
     
     
    Show all issues

    This might be very confusing without the import in the example.

  3. 
      
david
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (457157f)
Loading...