From 268e19bb769efe6ad3bb67f99fecb3be213f3359 Mon Sep 17 00:00:00 2001 From: Paul Craig Date: Fri, 25 Nov 2016 16:58:46 +0000 Subject: [PATCH] Fix ServiceWhiteList __repr__ Apparently this code was unreachable. --- app/models.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/models.py b/app/models.py index c24ce7b18..9f3a583a9 100644 --- a/app/models.py +++ b/app/models.py @@ -178,9 +178,8 @@ class ServiceWhitelist(db.Model): else: return instance - def __repr__(self): - return 'Recipient {} of type: {}'.format(self.recipient, - self.recipient_type) + def __repr__(self): + return 'Recipient {} of type: {}'.format(self.recipient, self.recipient_type) class ApiKey(db.Model, Versioned):