[Libreoffice] Mac - Python scripts not visible / executable in Macros manager
Caolán McNamara
caolanm at redhat.com
Mon Mar 7 07:10:46 PST 2011
On Mon, 2011-03-07 at 16:02 +0100, Christian Lohmaier wrote:
> The "Tuple" is a Node-type, that in turn contains a nodes attribute,
> iterating over those nodes works, so the fix is:
>
> - for item in node.expr:
> + for item in node.expr.nodes:
Groan, right, gotcha. The Tuple isn't a tuple. I suggest this is a good
fix for 3-3 as well, so suggest you commit your fix to master and +1 on
sticking it into 3-3 as well.
C.
More information about the LibreOffice
mailing list