commit | 6508c7c7e89d7345df8f8972b2f738b2bf1b1715 | [log] [tgz] |
---|---|---|
author | Just van Rossum <just@lettererror.com> | Fri Oct 20 06:34:57 2000 +0000 |
committer | Just van Rossum <just@lettererror.com> | Fri Oct 20 06:34:57 2000 +0000 |
tree | eb93d08e9197b314c045b367fce2846a81bd9ad0 | |
parent | 860106ae901843ae39c869afce81a2eac22f0ac9 [diff] |
fixed 2.0 compat bug
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 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