On Fri, Aug 21, 2015 at 1:19 PM, 'Terry Brown' via leo-editor < [email protected]> wrote:
> On Fri, 21 Aug 2015 10:43:49 -0500 > "Edward K. Ream" <[email protected]> wrote: > > There are also the @auto-<specialization> importer / exporters. > > E.g. .../leo/plugins/importers/ctext.py > > Just now it seems there might be a regression there, it's failing with > > Traceback (most recent call last): > File > "/mnt/usr1/usr1/home/tbrown/t/Package/leo/git/leo-editor/leo/core/leoAtFile.py", > line 3298, in writer_for_at_auto_cb > return aClass(at.c).write(root, forceSentinels=forceSentinels) > TypeError: write() got an unexpected keyword argument 'forceSentinels' > > which I didn't immediately find (i.e. didn't find the > offending .write() yet.). > The offending write is CTextWriter.write. It must have a forceSentinels keyword argument. I didn't update this method because I didn't know writers/ctext.py existed until just now. Terry, please update LeoPluginsRef.leo by adding @file writers/ctext.py. Support the forceSentinels argument as you like, using the others writers as a guide. Edward -- 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.
