Update a bunch of newer code to be compatible with Python 3.

Review Request #5306 — Created Jan. 23, 2014 and submitted

Information

Review Board
master

Reviewers

Update a bunch of newer code to be compatible with Python 3.

Since I initially went through and ported our code to Python 3, we've written a
bunch of new stuff. A lot of this stuff, especially the stuff that was done
initially on the release-1.7.x branch, didn't use the newer conventions for 2/3
compatibility. There were also a few lingering things that I hadn't ported yet
(like the execfile() call in rb-site).

Ran unit tests.

chipx86
  1. 
      
  2. reviewboard/diffviewer/diffutils.py (Diff revision 1)
     
     
     
     
     
     

    I'm a bit confused as to when we want to use django's six vs. djblets's six.

    1. For now, djblets six is better. I'll switch it all over to be django's once we move to django 1.6.

  3. 
      
chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (71e20ba).