Merge pull request #425 from edx/fix/cdodge/exporting-video-modules

Fix/cdodge/exporting video modules
This commit is contained in:
chrisndodge
2013-07-18 08:04:20 -07:00
3 changed files with 3 additions and 7 deletions

View File

@@ -133,7 +133,7 @@ class VideoDescriptor(VideoFields,
Override the base implementation. We don't actually have anything in the 'data' field
(it's an empty string), so we just return a simple XML element
"""
return etree.fromstring('<video />')
return etree.Element('video')
def _parse_video_xml(video, xml_data):