Code

fix for incorrect except: syntax, issue2550661
[roundup.git] / roundup / anypy / sets_.py
index e1f2f309e685423528041f3b4f24d5835ae8a61a..b3e7c451a8d9c5ae6a385969434899f20f98cd9e 100644 (file)
@@ -24,7 +24,7 @@ http://docs.python.org/library/sets.html#comparison-to-the-built-in-set-types
 
 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