diff options
Diffstat (limited to 'lib/python2.7/site-packages/django/utils/xmlutils.py')
-rw-r--r-- | lib/python2.7/site-packages/django/utils/xmlutils.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/python2.7/site-packages/django/utils/xmlutils.py b/lib/python2.7/site-packages/django/utils/xmlutils.py deleted file mode 100644 index a1eb5fb..0000000 --- a/lib/python2.7/site-packages/django/utils/xmlutils.py +++ /dev/null @@ -1,14 +0,0 @@ -""" -Utilities for XML generation/parsing. -""" - -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 = {} - self.startElement(name, attrs) - if contents is not None: - self.characters(contents) - self.endElement(name) |