projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9aced7
)
Update a comment.
author
Berker Peksag
<berker.peksag@gmail.com>
Sat, 7 Jun 2014 11:00:27 +0000
(14:00 +0300)
committer
Berker Peksag
<berker.peksag@gmail.com>
Sat, 7 Jun 2014 11:00:27 +0000
(14:00 +0300)
mediagoblin/_compat.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/_compat.py
b/mediagoblin/_compat.py
index ab5dbcf6c37b5930f91586d6ace2abb2bde31973..65fb5140aa12e827e55748d10b5f09b3598e9cef 100644
(file)
--- a/
mediagoblin/_compat.py
+++ b/
mediagoblin/_compat.py
@@
-15,7
+15,8
@@
else:
ungettext = mg_globals.thread_scope.translations.ungettext
-# taken from https://github.com/django/django/blob/master/django/utils/encoding.py
+# taken from
+# https://github.com/django/django/blob/master/django/utils/encoding.py
def py2_unicode(klass):
if not PY3:
if '__str__' not in klass.__dict__: