From 4e2a974e2c3943ab52f4dea526010b405d94b7c2 Mon Sep 17 00:00:00 2001 From: Jason Stubbs Date: Fri, 14 Oct 2005 12:12:44 +0000 Subject: 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 --- bin/emaint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-1-g7c22