Skip to content

Instantly share code, notes, and snippets.

@abyx
Created May 9, 2010 17:50
Show Gist options
  • Save abyx/395302 to your computer and use it in GitHub Desktop.
Save abyx/395302 to your computer and use it in GitHub Desktop.
class VerboseCommand(ShellCommand):
def __init__(self, command=None, is_factory_call=True):
ShellCommand.__init__(self, command=command)
if is_factory_call:
self.addFactoryArguments(is_factory_call=False)
else:
self.command = self.command + ['-v']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment