You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bazarr/update.py

10 lines
193 B

# 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)