diff options
Diffstat (limited to 'core/utils.py')
-rw-r--r-- | core/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/utils.py b/core/utils.py index 161a7f6..798e48f 100644 --- a/core/utils.py +++ b/core/utils.py @@ -263,7 +263,7 @@ def git_string(author_string): def write_and_commit(files, message, editor=None): """Writes the content to the filepath and adds and commits the file to git. If this fails, a WriteAndCommitError is raised. - These need refactoring + This needs refactoring to just write and then call only_commit() """ git = settings.GIT commands = [] @@ -380,7 +380,7 @@ class WriteAndCommitError(Exception): return f"WriteAndCommitError: {self.message}" -def writetrogglefile(filepath, filecontent, commit_msg=None): +def writetrogglefile(filepath, filecontent, commit_msg=None): """ REPLACE with call to write_and_commit + any necessary setup used only by cave editor in |