On Wed, Aug 18, 2010 at 9:08 PM, Phil <[email protected]> wrote: > I recently upgraded to version 4.7.1 (from 4.5.x) on both a Windows > machine and an Ubuntu machine. I have been using the script node code > below to implement a poor-man's PIM, but now the script doesn't work.
> @c > from mod_scripting import scriptingController > sc = scriptingController(c) > > def FindNextClone(c): > if not c: return c > if not c.isCloned(): return c > v = c.threadNext() > while v and v.t != c.t: > v = v.threadNext() > if not v: > # Wrap around. > v = c.rootVnode() > while v and v != c and v.t != c.t: > v = v.threadNext() [snip] In the one-node world, v.t == v for all v. Is that enough hint? Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
