bazarr/update.py
2017-11-21 15:42:18 -05:00

9 lines
193 B
Python

# coding: utf-8
from __future__ import unicode_literals
from get_general_settings import *
import git
g = git.cmd.Git(os.path.dirname(__file__))
print g.pull('--dry-run', 'origin', branch)