diff options
author | Jason Stubbs <jstubbs@gentoo.org> | 2005-10-14 12:12:44 +0000 |
---|---|---|
committer | Jason Stubbs <jstubbs@gentoo.org> | 2005-10-14 12:12:44 +0000 |
commit | 4e2a974e2c3943ab52f4dea526010b405d94b7c2 (patch) | |
tree | 826591be848bab9033637c053c318f8ed6137b7d | |
parent | bbde6db573b47ea1c185d1f788dad4daa7e21b4c (diff) | |
download | portage-4e2a974e2c3943ab52f4dea526010b405d94b7c2.tar.gz portage-4e2a974e2c3943ab52f4dea526010b405d94b7c2.tar.bz2 portage-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
-rwxr-xr-x | bin/emaint | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emaint b/bin/emaint index 3fdd03f24..7f991d9b0 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) |