bazarr/update.py

7 lines
135 B
Python
Raw Normal View History

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