feeds: fix an error when no match
parent
c2a6ea7cfe
commit
c5d8b064ae
|
@ -343,7 +343,7 @@ class ParserXML(ParserBase):
|
||||||
match.attrib[key] = value
|
match.attrib[key] = value
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if len(match):
|
if match is not None and len(match):
|
||||||
# atom stuff
|
# atom stuff
|
||||||
self._clean_node(match)
|
self._clean_node(match)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue