diff options
-rw-r--r-- | Mac/Tools/IDE/PyBrowser.py | 2 |
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 |