[pylucene-dev] Re: JCC getter/setter bug?
Andi Vajda
vajda at osafoundation.org
Wed Feb 20 15:42:48 PST 2008
On Wed, 20 Feb 2008, Bill Janssen wrote:
> Here's a patch:
>
> Index: jcc/jcc/cpp.py
> ===================================================================
> --- jcc/jcc/cpp.py (revision 382)
> +++ jcc/jcc/cpp.py (working copy)
> @@ -627,6 +627,7 @@
> for field in instanceFields:
> fieldType = field.getType()
> fieldName = field.getName()
> + modifiers = field.getModifiers()
> line(out, indent, '%s _get_%s() const;',
> typename(fieldType, cls, False), fieldName)
> if not Modifier.isFinal(modifiers):
> Index: jcc/setup.py
> ===================================================================
Indeed, that's clearly bogus.
Fix applied, thanks !
Andi..
More information about the pylucene-dev
mailing list