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 /bin/emaint | |
parent | Use realpath instead of abspath to ensure that symlinks are correctly account... (diff) | |
download | portage-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-x | bin/emaint | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |