mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-03-27 18:41:48 +00:00
Comments adjusted
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user