Convert metaclasses using @six.add_metaclass()

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

Information

Review Board
master

Reviewers

Convert metaclasses using @six.add_metaclass()

Metaclasses work differently in Python 2 and 3. Newer versions of six include a
decorator that can apply them for both versions. This change converts the
reviewboard codebase to use that.

Ran unit tests.

Description From Last Updated

Swap these.

chipx86chipx86
chipx86
  1. One small thing, then ship it.

  2. reviewboard/webapi/tests/test_repository.py (Diff revision 1)
     
     
     
    Show all issues

    Swap these.

  3. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (12404d7).