From f84c121f4334a134873d07592fe95fb4fd5f0916 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Tue, 20 Nov 2018 15:17:11 -0500 Subject: [PATCH] Clean up several xss linter issues --- openedx/core/djangoapps/site_configuration/models.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openedx/core/djangoapps/site_configuration/models.py b/openedx/core/djangoapps/site_configuration/models.py index ff14711155..8e73d58b5d 100644 --- a/openedx/core/djangoapps/site_configuration/models.py +++ b/openedx/core/djangoapps/site_configuration/models.py @@ -32,7 +32,7 @@ class SiteConfiguration(models.Model): ) def __unicode__(self): - return u"".format(site=self.site) + return u"".format(site=self.site) # xss-lint: disable=python-wrap-html def __repr__(self): return self.__unicode__() @@ -154,7 +154,8 @@ class SiteConfigurationHistory(TimeStampedModel): ordering = ('-modified', '-created',) def __unicode__(self): - return u"".format( + # pylint: disable=line-too-long + return u"".format( # xss-lint: disable=python-wrap-html modified=self.modified, site=self.site, )