MCPcopy
hub / github.com/eudicots/Cactus / write

Method write

cactus/config/file.py:42–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 logger.exception("Unable to load configuration at '{0}'.".format(self.path))
41
42 def write(self):
43 if self._dirty:
44 json.dump(self._data, open(self.path, "w"), sort_keys=True, indent=4, separators=(",", ": "))
45 self._dirty = False
46 logger.debug("Saved configuration at {0}".format(self.path))

Callers 9

setup.pyFile · 0.45
buildMethod · 0.45
urlMethod · 0.45
compressStringFunction · 0.45
save_credentialsMethod · 0.45
configureMethod · 0.45
bootstrap_from_packageFunction · 0.45
scss.disabled.pyFile · 0.45
preBuildFunction · 0.45

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected