MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / log_result

Method log_result

tools/tasks.py:316–320  ·  view source on GitHub ↗
(self, result)

Source from the content-addressed store, hash-verified

314 fp.write(message.encode())
315
316 def log_result(self, result):
317 if result == 0:
318 log("OK")
319 else:
320 log("Exit code %d" % result)
321
322 def run(self, task):
323 """Run a task with a file descriptor corresponding to its log file"""

Callers 1

runMethod · 0.95

Calls 1

logFunction · 0.85

Tested by

no test coverage detected