Commit 72b353f0 authored by Nicolas Wavrant's avatar Nicolas Wavrant

minor fixes

parent 52ef23ea
...@@ -145,7 +145,10 @@ def gitPush(project): ...@@ -145,7 +145,10 @@ def gitPush(project):
msg: commit message""" msg: commit message"""
code = 0 code = 0
json = "" json = ""
import pdb;pdb.set_trace()
repo = Repo(project)
try: try:
git = repo.git
#push changes to repo #push changes to repo
current_branch = repo.active_branch.name current_branch = repo.active_branch.name
git.push('origin', current_branch) git.push('origin', current_branch)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment