Fix merge glitch.

This commit is contained in:
Guido van Rossum 2008-01-05 16:46:23 +00:00
parent 43b15097cc
commit 8eb45a3a58
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ class PlistWriter(DumbXMLWriter):
self.simpleElement("true") self.simpleElement("true")
else: else:
self.simpleElement("false") self.simpleElement("false")
elif isinstance(value, (int, long)): elif isinstance(value, int):
self.simpleElement("integer", "%d" % value) self.simpleElement("integer", "%d" % value)
elif isinstance(value, float): elif isinstance(value, float):
self.simpleElement("real", repr(value)) self.simpleElement("real", repr(value))