diff --git a/src/commands.py b/src/commands.py index e79dec373..df48aa388 100644 --- a/src/commands.py +++ b/src/commands.py @@ -692,7 +692,7 @@ class rest(context): except Exception, e: args[:] = original else: - raise callbacks.ArgumentError + raise IndexError # additional means: Look for this (and make sure it's of this type). If # there are no arguments for us to check, then use our default.