From 04038f78bf2f112203a22dce60f1bc7edfc48fcf Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Tue, 27 Jul 2010 10:16:45 +0200 Subject: Remove add_options method, since the variable it stores isn't used anywhere. --- machineout.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/machineout.py b/machineout.py index 9ba75be..57ecb22 100644 --- a/machineout.py +++ b/machineout.py @@ -31,12 +31,6 @@ class NoseMachineReadableOutput(Plugin): super(NoseMachineReadableOutput, self).__init__() self.basepath = os.getcwd() - def add_options(self, parser, env=None): - super(NoseMachineReadableOutput, self).add_options(parser, env) - parser.add_option("--machine-output", action="store_true", - dest="machine_output", default=False, - help="Reports test results in parsable format.") - def addError(self, test, err): self.add_formatted('error', err) -- cgit v1.2.3