Comment 5 for bug 1282362

Revision history for this message
Edward K. Ream (edreamleo) wrote : Re: [Bug 1282362] Re: shadow file name collisions cause spontaneous clone creation

On Tue, Nov 4, 2014 at 6:57 AM, Edward K. Ream <email address hidden> wrote:

​> ​
I see the clones when I import apt.py, but I'm not convinced this is a
clone issue.

​The following works::

Define main (in a separate node) as::

    def main():
        <<globals>>
        <<parse command line>>
        <<post-parse globals>>
        <<run the commands>>
        <<wrap up>>

And then do the typical::

if __name__ == "__main__":
    main()

Clones go away.

Yes, there is a problem, but I'm pretty sure it has to do with @others
expansion, not clones. The @others expansion logic at the top-level node
is probably clashing, in some weird way, the the section references.

Anyway, I need the original .leo file before looking into this. Imo, this
is not a release stopper for a1.

Edward