From: david-sarah Date: Wed, 19 Jan 2011 06:08:08 +0000 (-0800) Subject: trivial: add comment in scripts/debug.py about trial option parsing. refs #1296 X-Git-Tag: allmydata-tahoe-1.8.2b1~38 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/%22doc.html/quickstart.html?a=commitdiff_plain;h=74b1eec1d661a50829e0c742dfaac3f3726e014a;p=tahoe-lafs%2Ftahoe-lafs.git trivial: add comment in scripts/debug.py about trial option parsing. refs #1296 --- diff --git a/src/allmydata/scripts/debug.py b/src/allmydata/scripts/debug.py index 168c2ae0..8073fe78 100644 --- a/src/allmydata/scripts/debug.py +++ b/src/allmydata/scripts/debug.py @@ -793,6 +793,8 @@ class TrialOptions(twisted_trial.Options): def parseOptions(self, all_subargs, *a, **kw): self.trial_args = list(all_subargs) + + # any output from the option parsing will be printed twice, but that's harmless return twisted_trial.Options.parseOptions(self, all_subargs, *a, **kw) def parseArgs(self, *nonoption_args):