On Thursday, September 5, 2019 at 8:09:28 AM UTC-5, Edward K. Ream wrote:
> The c.config class should have a method that tells the actual source of
each setting.
The new method, say, c.config.settingIsActiveInPath, would be used like
this:
# Compute the summary dict.
is_active = c.config.settingIsActiveInPath
summary = {}
for path in sources:
inner_d = g.TypedDict(
name=g.shortFileName(path),
keyType=str,
valType=g.GeneralSetting)
summary [path] = inner_d
for key, val in d.items():
if val.path == path and is_active(val, path):
inner_d [key] = val
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 view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/27b7f510-620e-4106-ae49-7097d063490a%40googlegroups.com.