aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins/openid/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/plugins/openid/models.py')
-rw-r--r--mediagoblin/plugins/openid/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/plugins/openid/models.py b/mediagoblin/plugins/openid/models.py
index 6773f0ad..e51b401c 100644
--- a/mediagoblin/plugins/openid/models.py
+++ b/mediagoblin/plugins/openid/models.py
@@ -41,7 +41,7 @@ class Nonce(Base):
salt = Column(Unicode, primary_key=True)
def __unicode__(self):
- return u'Nonce: %r, %r' % (self.server_url, self.salt)
+ return 'Nonce: {!r}, {!r}'.format(self.server_url, self.salt)
class Association(Base):
@@ -55,7 +55,7 @@ class Association(Base):
assoc_type = Column(Unicode)
def __unicode__(self):
- return u'Association: %r, %r' % (self.server_url, self.handle)
+ return 'Association: {!r}, {!r}'.format(self.server_url, self.handle)
MODELS = [