diff options
author | Jason Stubbs <jstubbs@gentoo.org> | 2005-12-24 09:11:07 +0000 |
---|---|---|
committer | Jason Stubbs <jstubbs@gentoo.org> | 2005-12-24 09:11:07 +0000 |
commit | 32e51b4db1a412cd7c24bef61769efba08935d2e (patch) | |
tree | aab505dc5f92c8683d5ed66e0e54d45a11f82af0 | |
parent | b04143d31f9cc7d4f5f37ea6844572f447b82898 (diff) | |
download | portage-32e51b4db1a412cd7c24bef61769efba08935d2e.tar.gz portage-32e51b4db1a412cd7c24bef61769efba08935d2e.tar.bz2 portage-32e51b4db1a412cd7c24bef61769efba08935d2e.zip |
Fix an incorrect variable reference triggered when using --fix and --check
together. Patch by Ashley Stovall. # 116576
svn path=/main/trunk/; revision=2444
-rwxr-xr-x | bin/emaint | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |