[qmtest] derivation issues?

Mark Mitchell mark at codesourcery.com
Fri Dec 20 23:28:53 UTC 2002



--On Friday, December 20, 2002 6:05 PM -0500 "eichin at metacarta.com" 
<eichin at metacarta.com> wrote:

>>     arguments = [TextField(name = "script", computed = 1)]
>
> FYI, since IsProperty says
>         return self.GetProperty(property_name, "false") == "true"
> this needs to be literally "true", ie.
>         arguments = [TextField(name = "script", computed = "true")]
>
> (could argue that that should be more liberal, but not very strongly.

Yup.

I wasn't the original author of this code, and I saw that a while back
-- but didn't see a terribly easy way to change it at the time.  We
could fix it now, due to some of the other infrastructure cleanups, but,
on the other hand, the way it is now isn't horrible...

--
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com



More information about the qmtest mailing list