Revert 10874 changes to _FilterParser.py

svn: r10878
This commit is contained in:
Gerald Britton
2008-07-18 14:06:42 +00:00
parent 437bde6e5c
commit 6b2b52552d
2 changed files with 2 additions and 1 deletions

View File

@@ -57,7 +57,7 @@ class FilterParser(handler.ContentHandler):
def startElement(self, tag, attrs):
if tag == "object":
if 'type' in attrs:
if attrs.has_key('type'):
self.namespace = attrs['type']
if self.namespace == 'Media':
self.namespace = 'MediaObject'