Commit 5ceff2c4 authored by Andreas Jung's avatar Andreas Jung

Fixed wrong conversion to string methods.

parent d94e14e8
......@@ -198,7 +198,7 @@ class Try:
for errname in nargs.split():
self.handlers.append((errname,nsection.blocks))
if nargs.split()=='':
if nargs.strip()=='':
if defaultHandlerFound:
raise ParseError, (
'Only one default exception handler '
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment