MCPcopy
hub / github.com/isso-comments/isso / setify

Function setify

isso/config.py:150–151  ·  view source on GitHub ↗
(cp)

Source from the content-addressed store, hash-verified

148def load(default, user=None):
149 # return set of (section, option)
150 def setify(cp):
151 return set((section, option) for section in cp.sections() for option in cp.options(section))
152
153 parser = new()
154 with open(default, "r") as f:

Callers 1

loadFunction · 0.85

Calls 1

setFunction · 0.85

Tested by

no test coverage detected