I've also been seeing this with real files, if changed outside
Leo, refresh from disk fails, the .py file has it's contents duplicated.

A minimal @auto file:

@auto z.py
     pass
    @others
     foo
        class foo:
           @others
           def __init__():
              pass

- save Leo file, creates z.py
- refresh from disk z.py

log:

saved: foo.leo
created: /home/ktenney/develop/z.py
saved: foo.leo
reading: @auto z.py

Error: @auto did not import @auto z.py perfectly
The clean-all-lines command may help fix whitespace problems
first mismatched line: 15 (original) = 3 (imported)

Original file...


Imported file...

   1 u'def __init__():\n'
   2 u' pass\n'
   3 u'class foo:\n'
   4 u'def __init__():\n'
   5 u' pass\n'

errors inhibited read @auto /home/ktenney/develop/z.py

finished

-- 
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to