From 8eb45a3a58167a1f3c6dfed2047815aaca6cfef1 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 5 Jan 2008 16:46:23 +0000 Subject: Fix merge glitch. --- Lib/plat-mac/plistlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/plat-mac/plistlib.py b/Lib/plat-mac/plistlib.py index 2a80e84..db5eea1 100644 --- a/Lib/plat-mac/plistlib.py +++ b/Lib/plat-mac/plistlib.py @@ -242,7 +242,7 @@ class PlistWriter(DumbXMLWriter): self.simpleElement("true") else: self.simpleElement("false") - elif isinstance(value, (int, long)): + elif isinstance(value, int): self.simpleElement("integer", "%d" % value) elif isinstance(value, float): self.simpleElement("real", repr(value)) -- cgit v0.12