402
402
def _try_append(self, relpath, text, mode=None, retries=0):
403
403
"""Try repeatedly to append the given text to the file at relpath.
405
405
This is a recursive function. On errors, it will be called until the
406
406
number of retries is exceeded.