Bug 809650 - Handle mach @CommandArguments in the right order. DONTBUILD (NPOTB) r=gps

This commit is contained in:
Cameron McCormack 2012-11-08 10:21:43 +11:00
parent ae6b6a8049
commit 379329a092

View File

@ -107,7 +107,7 @@ class CommandArgument(object):
def __call__(self, func):
command_args = getattr(func, '_mach_command_args', [])
command_args.append(self._command_args)
command_args.insert(0, self._command_args)
func._mach_command_args = command_args