This commit is contained in:
Alexandre Aubin 2019-08-03 21:24:48 +02:00
parent 2e73e0f328
commit 758778a04b

View file

@ -201,7 +201,7 @@ def write_to_json(file_path, data):
except IOError as e: except IOError as e:
raise MoulinetteError('cannot_write_file', file=file_path, error=str(e)) raise MoulinetteError('cannot_write_file', file=file_path, error=str(e))
except Exception as e: except Exception as e:
raise MoulinetteError('_error_writing_file', file=file_path, error=str(e)) raise MoulinetteError('error_writing_file', file=file_path, error=str(e))
def mkdir(path, mode=0o777, parents=False, uid=None, gid=None, force=False): def mkdir(path, mode=0o777, parents=False, uid=None, gid=None, force=False):