From 32e51b4db1a412cd7c24bef61769efba08935d2e Mon Sep 17 00:00:00 2001 From: Jason Stubbs Date: Sat, 24 Dec 2005 09:11:07 +0000 Subject: Fix an incorrect variable reference triggered when using --fix and --check together. Patch by Ashley Stovall. # 116576 svn path=/main/trunk/; revision=2444 --- bin/emaint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/emaint b/bin/emaint index 617cf2a1a..2054f42c7 100755 --- a/bin/emaint +++ b/bin/emaint @@ -67,7 +67,7 @@ def exclusive(option, unused1, unused2, unused3, var=None): if not var: raise ValueError("var not specified to exclusive()") if getattr(parser, var, ""): - raise OptionValueError("%s and %s are exclusive options" % (getattr(parser, var), value)) + raise OptionValueError("%s and %s are exclusive options" % (getattr(parser, var), option)) setattr(parser, var, str(option)) -- cgit v1.2.3-1-g7c22