Browse Source

Fix a Python3 specific variable scoping issue

pull/49/head
Ondřej Slabý 8 years ago
parent
commit
658f976d4f
  1. 3
      disco/bot/parser.py

3
disco/bot/parser.py

@ -139,9 +139,10 @@ class ArgumentSet(object):
try: try:
return typ(ctx, value) return typ(ctx, value)
except Exception as e: except Exception as e:
exc = e
continue continue
raise e raise exc
def append(self, arg): def append(self, arg):
""" """

Loading…
Cancel
Save