Check for update test

This commit is contained in:
Louis Vézina 2017-11-06 23:23:36 -05:00
parent 9676cdf6b2
commit 18fac1bfad
1 changed files with 2 additions and 5 deletions

View File

@ -1,8 +1,5 @@
from get_general_settings import *
import git
g = git.cmd.Git(os.path.dirname(__file__))
g.pull('origin ' + branch + ' --dry-run')
print g
import subprocess
print subprocess.check_output(["git", "pull", '--dry-run', '--quiet', 'origin', branch], stderr=subprocess.STDOUT)