summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2008-01-05 16:46:23 (GMT)
committerGuido van Rossum <guido@python.org>2008-01-05 16:46:23 (GMT)
commit8eb45a3a58167a1f3c6dfed2047815aaca6cfef1 (patch)
tree8e7e0e59c07128f93376366e5c651038e119a0d9
parent43b15097ccdb8cbfaf03a8705730cd5d7ab413fd (diff)
downloadcpython-8eb45a3a58167a1f3c6dfed2047815aaca6cfef1.zip
cpython-8eb45a3a58167a1f3c6dfed2047815aaca6cfef1.tar.gz
cpython-8eb45a3a58167a1f3c6dfed2047815aaca6cfef1.tar.bz2
Fix merge glitch.
-rw-r--r--Lib/plat-mac/plistlib.py2
1 files changed, 1 insertions, 1 deletions
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))