summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-12-24 09:11:07 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-12-24 09:11:07 +0000
commit32e51b4db1a412cd7c24bef61769efba08935d2e (patch)
treeaab505dc5f92c8683d5ed66e0e54d45a11f82af0 /bin/emaint
parentFix an incorrect comparision self-comparison in USE change calculation. (diff)
downloadportage-multirepo-32e51b4db1a412cd7c24bef61769efba08935d2e.tar.gz
portage-multirepo-32e51b4db1a412cd7c24bef61769efba08935d2e.tar.bz2
portage-multirepo-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
Diffstat (limited to 'bin/emaint')
-rwxr-xr-xbin/emaint2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emaint b/bin/emaint
index 617cf2a1..2054f42c 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))