Fix regression affecting conversion of feeds with embedded content

This commit is contained in:
Kovid Goyal 2008-08-18 07:03:10 -07:00
parent 00c69e02ab
commit 49dc6d97e1

View File

@ -648,7 +648,7 @@ class NamespaceFlattener(object):
elif kind is END_NS: elif kind is END_NS:
if data is '': if data is '':
default.pop() default.pop()
if data in prefixes: if data in prefixes and prefixes.get(data):
uris = prefixes.get(data) uris = prefixes.get(data)
uri = uris.pop() uri = uris.pop()
if not uris: if not uris: