diff options
| author | Ben Timby | 2012-01-18 22:59:30 -0500 |
|---|---|---|
| committer | Ben Timby | 2012-01-18 22:59:30 -0500 |
| commit | 0a5ca000edcd8fba1e5e5f71c7267d9f52e456a0 (patch) | |
| tree | b7ce62d60bc0aebc889a15cc6bd473d0a3ea8af1 /djangorestframework/utils | |
| parent | 5f4096ca28d6c0b9ea98f43278789b38cf0d37bb (diff) | |
| download | django-rest-framework-0a5ca000edcd8fba1e5e5f71c7267d9f52e456a0.tar.bz2 | |
Docstring/whitespace fixes.
Diffstat (limited to 'djangorestframework/utils')
| -rw-r--r-- | djangorestframework/utils/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/djangorestframework/utils/__init__.py b/djangorestframework/utils/__init__.py index 2b4fd10e..634d0d68 100644 --- a/djangorestframework/utils/__init__.py +++ b/djangorestframework/utils/__init__.py @@ -150,10 +150,10 @@ class XMLRenderer(): xml.startElement(key, {}) self._to_xml(xml, value) xml.endElement(key) - + elif data is None: # Don't output any value - pass + pass else: xml.characters(smart_unicode(data)) |
