projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbde6db
)
Take the str() of the option passed to the callback so it can be compared usefully...
author
Jason Stubbs
<jstubbs@gentoo.org>
Fri, 14 Oct 2005 12:12:44 +0000
(12:12 -0000)
committer
Jason Stubbs
<jstubbs@gentoo.org>
Fri, 14 Oct 2005 12:12:44 +0000
(12:12 -0000)
svn path=/main/branches/2.0/; revision=2130
bin/emaint
patch
|
blob
|
history
diff --git
a/bin/emaint
b/bin/emaint
index 3fdd03f248813a7a679697ac70a8dfeaf1bbe7a1..7f991d9b0bfe1128ab4067683396b4f4897eaf49 100755
(executable)
--- 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)