bazarr/check_update.py

6 lines
180 B
Python
Raw Normal View History

2017-10-28 10:18:16 +08:00
from get_general_settings import *
import git
2017-11-07 12:23:36 +08:00
import subprocess
print subprocess.check_output(["git", "pull", '--dry-run', '--quiet', 'origin', branch], stderr=subprocess.STDOUT)