On Tue, Mar 8, 2016 at 3:41 AM, Edward K. Ream <[email protected]> wrote:
>
Let p1 be one of the desired clones, and p2 be any one of the deprecated
clones. This following *might *work, but do be careful.
for p in list(c.all_unique_positions()):
if p.v == p2.v:
p.v = p1.v
I would add the following as the last line (outer level indent):
errors = c.checkOutline(check_links=True)
g.es('%s errors' % errors)
And no, c should not be named commanderOfThisOutline :-)
Oh yes, and one more thing. Cutting and pasting code from this forum is
dicey: beware of hidden crufty characters.
EKR
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.