mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-07 23:37:58 +08:00
Check for update test
This commit is contained in:
parent
9676cdf6b2
commit
18fac1bfad
1 changed files with 2 additions and 5 deletions
|
@ -1,8 +1,5 @@
|
||||||
from get_general_settings import *
|
from get_general_settings import *
|
||||||
|
|
||||||
import git
|
import git
|
||||||
|
import subprocess
|
||||||
g = git.cmd.Git(os.path.dirname(__file__))
|
print subprocess.check_output(["git", "pull", '--dry-run', '--quiet', 'origin', branch], stderr=subprocess.STDOUT)
|
||||||
g.pull('origin ' + branch + ' --dry-run')
|
|
||||||
|
|
||||||
print g
|
|
||||||
|
|
Loading…
Reference in a new issue