diff options
author | Alasdair Nicol <alasdair@memset.com> | 2013-10-17 09:17:41 +0100 |
---|---|---|
committer | Alasdair Nicol <alasdair@memset.com> | 2013-10-17 12:12:40 +0100 |
commit | eb214452c3b1dc399b629aabea926e27b5538c52 (patch) | |
tree | 536f8b22d44830900fa824c01ba87ccdf7ba7cda /django/utils/xmlutils.py | |
parent | 650b6fd90efea058c54800d2ba0e0976547894a3 (diff) | |
download | django-eb214452c3b1dc399b629aabea926e27b5538c52.tar.gz |
Fixed #21270 -- Fixed E701 pep8 warnings
Diffstat (limited to 'django/utils/xmlutils.py')
-rw-r--r-- | django/utils/xmlutils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/django/utils/xmlutils.py b/django/utils/xmlutils.py index a1eb5fb753..a09fcb0f6b 100644 --- a/django/utils/xmlutils.py +++ b/django/utils/xmlutils.py @@ -7,7 +7,8 @@ from xml.sax.saxutils import XMLGenerator class SimplerXMLGenerator(XMLGenerator): def addQuickElement(self, name, contents=None, attrs=None): "Convenience method for adding an element with no children" - if attrs is None: attrs = {} + if attrs is None: + attrs = {} self.startElement(name, attrs) if contents is not None: self.characters(contents) |