On Fri, May 21, 2010 at 11:37 AM, Kent Tenney <[email protected]> wrote:
>>> Am I using
>>> bridge.loadSettings=False
>>> and
>>> bridge.loadPlugins=False
>>>
>>> correctly? they don't seem to do anything.
>>
>> I don't know anything about them. Where are they documented? What do
>> you expect would happen?
>
> I would expect they would prevent the
> bridge from loading settings and plugins.
Ok. I see what is going on. These are internal ivars that get used
in initLeo called at the end of the ctor. Setting these ivars after
you create the bridge object will have no effect. Instead, you can use
keyword args to get what you want. Change:
bridge = leoBridge.controller(gui='nullGui', verbose=False)
bridge.loadPlugins = False
bridge.readSettings = False
To:
bridge = leoBridge.controller(gui='nullGui', verbose=False,
loadPlugins = False,readSettings = False)
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.