aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/_compat.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove remaining Python 2 compatibility code.Ben Sturmfels2021-03-051-16/+0
|
* Remove remaining imports/calls to six not automatically removed by pyupgrade.Ben Sturmfels2021-03-051-13/+0
|
* Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code.Ben Sturmfels2021-03-051-5/+2
|
* Improve mediagoblin._compat.py2_unicode.Berker Peksag2014-08-151-10/+22
| | | | | | | - Encode obj.__repr__() to bytestring if its type is unicode in Python 2. - Add internal encode_to_utf8() decorator. - Do not raise an exception if a class does not have an __str__() method, just warn.
* Cleanup mediagoblin._compat and fix translation tests.Berker Peksag2014-07-281-10/+2
|
* Update a comment.Berker Peksag2014-06-071-1/+2
|
* Sync py2_unicode decorator with Django.Berker Peksag2014-06-031-2/+5
|
* Use mediagoblin._compat.{ugettext, ungettext} on Python 3.Berker Peksag2014-06-021-0/+1
|
* Add py2_unicode helper to mediagoblin._compat.Berker Peksag2014-06-021-0/+7
|
* Add ugettext and ungettext helpers to mediagoblin._compat.Berker Peksag2014-05-261-0/+6
|
* Continue to port GMG codebase.Berker Peksag2014-05-081-1/+8
|
* Add mediagoblin._compat module.Berker Peksag2014-05-081-0/+3