if s_tagvalue is None:

This commit is contained in:
Doug Blank 2015-09-30 06:39:00 -04:00
parent 2df26a9076
commit 463ea1fe7e

View File

@ -222,8 +222,6 @@ class DocBackend(object):
return self.format_link(s_tag.value) return self.format_link(s_tag.value)
typeval = int(s_tag.name) typeval = int(s_tag.name)
s_tagvalue = s_tag.value s_tagvalue = s_tag.value
if s_tagvalue is None:
return None
tag_name = None tag_name = None
if tagtype.STYLE_TYPE[typeval] == bool: if tagtype.STYLE_TYPE[typeval] == bool:
return self.STYLETAG_MARKUP[self.STYLETYPE_MAP[typeval]] return self.STYLETAG_MARKUP[self.STYLETYPE_MAP[typeval]]