Perform unicode migration for reviewboard/accounts

Review Request #4957 — Created Nov. 15, 2013 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

Perform unicode migration for reviewboard/accounts

This change represents an audit of all of our string literals to make sure that
bytestrings are annotated with a leading 'b', and then adds
"from __future__ import unicode_literals" to the beginning of every non-empty
file. This also includes a string-related change to use six.text_type for
python 2/3 compatibility.

  • Ran unit tests
  • Smoke tested login/logout/settings
reviewboard/accounts/admin.py
reviewboard/accounts/backends.py
reviewboard/accounts/context_processors.py
reviewboard/accounts/decorators.py
reviewboard/accounts/forms.py
reviewboard/accounts/managers.py
reviewboard/accounts/middleware.py
reviewboard/accounts/models.py
reviewboard/accounts/signals.py
reviewboard/accounts/tests.py
reviewboard/accounts/urls.py
reviewboard/accounts/views.py
reviewboard/accounts/evolutions/__init__.py
reviewboard/accounts/evolutions/extra_data.py
reviewboard/accounts/evolutions/is_private.py
reviewboard/accounts/evolutions/localsiteprofile_permissions.py
reviewboard/accounts/evolutions/open_an_issue.py
reviewboard/accounts/evolutions/timezone.py
reviewboard/accounts/evolutions/timezone_length_30.py
Loading...