bazarr/update.py

10 lines
193 B
Python
Raw Normal View History

2017-11-22 04:42:18 +08:00
# coding: utf-8
from __future__ import unicode_literals
2017-10-29 07:38:22 +08:00
from get_general_settings import *
import git
g = git.cmd.Git(os.path.dirname(__file__))
print g.pull('--dry-run', 'origin', branch)