bazarr/check_update.py

8 lines
140 B
Python
Raw Normal View History

2017-10-28 02:18:16 +00:00
from get_general_settings import *
import git
g = git.cmd.Git(os.path.dirname(__file__))
g.pull('origin ' + branch + '--dry-run')
print g