summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-10-14 12:12:44 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-10-14 12:12:44 +0000
commit4e2a974e2c3943ab52f4dea526010b405d94b7c2 (patch)
tree826591be848bab9033637c053c318f8ed6137b7d /bin/emaint
parentUse realpath instead of abspath to ensure that symlinks are correctly account... (diff)
downloadportage-multirepo-4e2a974e2c3943ab52f4dea526010b405d94b7c2.tar.gz
portage-multirepo-4e2a974e2c3943ab52f4dea526010b405d94b7c2.tar.bz2
portage-multirepo-4e2a974e2c3943ab52f4dea526010b405d94b7c2.zip
Take the str() of the option passed to the callback so it can be compared usefully later on.
svn path=/main/branches/2.0/; revision=2130
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 3fdd03f2..7f991d9b 100755
--- a/bin/emaint
+++ b/bin/emaint
@@ -62,7 +62,7 @@ def exclusive(option, unused1, unused2, unused3, var=None):
raise ValueError("var not specified to exclusive()")
if getattr(parser, var, ""):
raise OptionValueError("%s and %s are exclusive options" % (getattr(parser, var), value))
- setattr(parser, var, option)
+ setattr(parser, var, str(option))
usage = "usage: emaint [options] " + " | ".join(module_names)