diff --git a/roundup/anypy/sets_.py b/roundup/anypy/sets_.py
index e1f2f309e685423528041f3b4f24d5835ae8a61a..b3e7c451a8d9c5ae6a385969434899f20f98cd9e 100644 (file)
--- a/roundup/anypy/sets_.py
+++ b/roundup/anypy/sets_.py
try:
set = set # built-in since Python 2.4
-except NameError, TypeError:
+except (NameError, TypeError):
from sets import Set as set # deprecated as of Python 2.6
# vim: ts=8 sts=4 sw=4 si et