Skip to content

Commit

Permalink
Added yet more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
francis-a committed Oct 29, 2018
1 parent e332a82 commit 76ede27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions githubcommit/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ def put(self):
# commit current notebook
# client will sent pathname containing git directory; append to git directory's parent
try:
command = str(os.environ.get('GIT_PARENT_DIR') + "/" + os.environ.get('GIT_REPO_NAME') + filename)
print_err("Will add {}".format(command))
print_err(repo.git.add(
str(os.environ.get('GIT_PARENT_DIR') + "/" + os.environ.get('GIT_REPO_NAME') + filename)))
print_err(repo.git.commit(a=True, m="{}\n\nUpdated {}".format(msg, filename)))
Expand Down

0 comments on commit 76ede27

Please sign in to comment.