diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-01-17 00:43:02 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-01-17 00:43:02 -0500 |
commit | 2ea8de7737c4186557a0490a8bbb53bc9b6cd79e (patch) | |
tree | 3dfb81c26b379da7bfa928ce5a6c13ddf6e805b9 /source | |
parent | 7da62bdaaa3cde7fa4729337936feb310ca64826 (diff) |
copied node.py from mso-dumper.
Diffstat (limited to 'source')
-rw-r--r-- | source/node.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/node.py b/source/node.py index 6b1d62e..6f3a7c9 100644 --- a/source/node.py +++ b/source/node.py @@ -132,7 +132,7 @@ def convertAttrValue (val): val = "true" else: val = "false" - elif type(val) == type(0): + elif type(val) == type(0) or type(val) == type(0L): val = "%d"%val elif type(val) == type(0.0): val = "%g"%val |