Force style type to int if it should be

svn: r19689
This commit is contained in:
Doug Blank 2012-05-28 22:50:51 +00:00
parent b8416f7d42
commit d7dea255b9

View File

@ -238,7 +238,7 @@ class DocBackend(object):
elif tagtype.STYLE_TYPE[typeval] == str: elif tagtype.STYLE_TYPE[typeval] == str:
tag_name = "%d %s" % (typeval, s_tagvalue) tag_name = "%d %s" % (typeval, s_tagvalue)
elif tagtype.STYLE_TYPE[typeval] == int: elif tagtype.STYLE_TYPE[typeval] == int:
tag_name = "%d %d" % (typeval, s_tagvalue) tag_name = "%d %d" % (typeval, int(s_tagvalue))
if not tag_name: if not tag_name:
return None return None