aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/db')
-rw-r--r--mediagoblin/db/mixin.py2
-rw-r--r--mediagoblin/db/models.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/db/mixin.py b/mediagoblin/db/mixin.py
index 048cc07c..3d96ba34 100644
--- a/mediagoblin/db/mixin.py
+++ b/mediagoblin/db/mixin.py
@@ -295,7 +295,7 @@ class MediaCommentMixin(object):
return cleaned_markdown_conversion(self.content)
def __repr__(self):
- return '<{klass} #{id} {author} "{comment}">'.format(
+ return u'<{klass} #{id} {author} "{comment}">'.format(
klass=self.__class__.__name__,
id=self.id,
author=self.get_author,
diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py
index 643d5d41..4c9345fc 100644
--- a/mediagoblin/db/models.py
+++ b/mediagoblin/db/models.py
@@ -666,7 +666,7 @@ class Notification(Base):
}
def __repr__(self):
- return '<{klass} #{id}: {user}: {subject} ({seen})>'.format(
+ return u'<{klass} #{id}: {user}: {subject} ({seen})>'.format(
id=self.id,
klass=self.__class__.__name__,
user=self.user,