From 28e17fdeb4843327bf734b7456501e28aa77621d Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sun, 29 Sep 2013 15:26:28 +0200 Subject: [PATCH] redundant parens, use tuple --- nsupdate/main/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nsupdate/main/models.py b/nsupdate/main/models.py index f1d93cf..613b547 100644 --- a/nsupdate/main/models.py +++ b/nsupdate/main/models.py @@ -15,7 +15,7 @@ class BlacklistedDomain(models.Model): created_by = models.ForeignKey(User, blank=True, null=True) def __unicode__(self): - return u"%s" % (self.domain) + return u"%s" % (self.domain, ) def domain_blacklist_validator(value): @@ -33,7 +33,7 @@ class Domain(models.Model): created_by = models.ForeignKey(User) def __unicode__(self): - return u"%s" % (self.domain) + return u"%s" % (self.domain, ) class Host(models.Model):