diff options
author | Sascha Silbe <sascha-pgp@silbe.org> | 2010-10-16 09:25:16 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha-pgp@silbe.org> | 2010-11-23 17:03:07 (GMT) |
commit | 22bcee228d954b97976f4d84c83f58ff7465d22a (patch) | |
tree | db79b765793ec27917caeae411d40539364409c6 | |
parent | 4763fc39005ddb0fa3bb6e35edd8e888336da78f (diff) |
sugar.dispatch.dispatcher: remove fallback for Python 2.3
Other pieces of the code rely on Python 2.5, so there's no point in keeping
this. pep8 complained about lack of spacing in front of the inline comment,
so it needed touching anyway.
Reviewed-by: James Cameron <quozl@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
-rw-r--r-- | src/sugar/dispatch/dispatcher.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/sugar/dispatch/dispatcher.py b/src/sugar/dispatch/dispatcher.py index c9e1dd1..2138703 100644 --- a/src/sugar/dispatch/dispatcher.py +++ b/src/sugar/dispatch/dispatcher.py @@ -1,9 +1,4 @@ import weakref -try: - set -except NameError: - from sets import Set as set # Python 2.3 fallback - from sugar.dispatch import saferef WEAKREF_TYPES = (weakref.ReferenceType, saferef.BoundMethodWeakref) |