[r22705]Bug 6928: Windows: If LANG not equal en_GB Graphic Reports
in some cases produce empty PDF sheets or force graphviz to crash Problem was due to calling localized float() when parsing a C-locale xml file svn: r22706
This commit is contained in:
parent
7301dccc55
commit
127567278e
@ -73,8 +73,8 @@ class PageSizeParser(handler.ContentHandler):
|
||||
def startElement(self, tag, attrs):
|
||||
if tag == "page":
|
||||
name = attrs['name']
|
||||
height = glocale.float(attrs['height'])
|
||||
width = glocale.float(attrs['width'])
|
||||
height = float(attrs['height'])
|
||||
width = float(attrs['width'])
|
||||
self.paper_list.append(PaperSize(name, height, width))
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user