summaryrefslogtreecommitdiffstats
path: root/Mac/Tools
diff options
context:
space:
mode:
authorJust van Rossum <just@lettererror.com>2000-10-20 06:34:57 (GMT)
committerJust van Rossum <just@lettererror.com>2000-10-20 06:34:57 (GMT)
commit6508c7c7e89d7345df8f8972b2f738b2bf1b1715 (patch)
treeeb93d08e9197b314c045b367fce2846a81bd9ad0 /Mac/Tools
parent860106ae901843ae39c869afce81a2eac22f0ac9 (diff)
downloadcpython-6508c7c7e89d7345df8f8972b2f738b2bf1b1715.zip
cpython-6508c7c7e89d7345df8f8972b2f738b2bf1b1715.tar.gz
cpython-6508c7c7e89d7345df8f8972b2f738b2bf1b1715.tar.bz2
fixed 2.0 compat bug
Diffstat (limited to 'Mac/Tools')
-rw-r--r--Mac/Tools/IDE/PyBrowser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/PyBrowser.py b/Mac/Tools/IDE/PyBrowser.py
index 27e6418..c1abbac 100644
--- a/Mac/Tools/IDE/PyBrowser.py
+++ b/Mac/Tools/IDE/PyBrowser.py
@@ -428,7 +428,7 @@ def caselesssort(alist):
def tuple_caselesssort(items):
try:
tupledlist = map(lambda tuple, lower = string.lower: (lower(tuple[0]), tuple), items)
- except TypeError:
+ except (AttributeError, TypeError):
items = items[:]
items.sort()
return items