Force style type to int if it should be
svn: r19689
This commit is contained in:
parent
b8416f7d42
commit
d7dea255b9
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user