Mercurial > p > roundup > code
diff roundup/anypy/sets_.py @ 4408:06af6d5bedbe
fix for incorrect except: syntax, issue2550661
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 09 Aug 2010 04:45:28 +0000 |
| parents | eddb82d0964c |
| children |
line wrap: on
line diff
--- a/roundup/anypy/sets_.py Mon Aug 09 04:43:50 2010 +0000 +++ b/roundup/anypy/sets_.py Mon Aug 09 04:45:28 2010 +0000 @@ -24,7 +24,7 @@ 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
