Fix ServiceWhiteList __repr__

Apparently this code was unreachable.
This commit is contained in:
Paul Craig
2016-11-25 16:58:46 +00:00
parent ffb813bb3f
commit 268e19bb76

View File

@@ -178,9 +178,8 @@ class ServiceWhitelist(db.Model):
else: else:
return instance return instance
def __repr__(self): def __repr__(self):
return 'Recipient {} of type: {}'.format(self.recipient, return 'Recipient {} of type: {}'.format(self.recipient, self.recipient_type)
self.recipient_type)
class ApiKey(db.Model, Versioned): class ApiKey(db.Model, Versioned):