Perform unicode migration for reviewboard/admin
Review Request #4958 — Created Nov. 15, 2013 and submitted — Latest diff uploaded
Perform unicode migration for reviewboard/admin
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 some changes to handle string/byte types when
communicating with memcached, some changes to usesix.text_type
for python 2/3
compatibility, and marking some additional strings for translation.
- Ran unit tests
- Smoke tested admin
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
reviewboard/admin/__init__.py |
---|
reviewboard/admin/cache_stats.py |
---|
reviewboard/admin/checks.py |
---|
reviewboard/admin/context_processors.py |
---|
reviewboard/admin/forms.py |
---|
reviewboard/admin/middleware.py |
---|
reviewboard/admin/signals.py |
---|
reviewboard/admin/siteconfig.py |
---|
reviewboard/admin/support.py |
---|
reviewboard/admin/tests.py |
---|
reviewboard/admin/urls.py |
---|
reviewboard/admin/validation.py |
---|
reviewboard/admin/views.py |
---|
reviewboard/admin/widgets.py |
---|
reviewboard/admin/management/__init__.py |
---|
reviewboard/admin/management/evolutions.py |
---|
reviewboard/admin/management/sites.py |
---|
reviewboard/admin/management/commands/dumpdb.py |
---|
reviewboard/admin/management/commands/loaddb.py |
---|
reviewboard/admin/management/commands/resolve-check.py |
---|
reviewboard/admin/templatetags/rbadmintags.py |
---|