mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-04 05:52:24 +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 *
|
||||
|
||||
import git
|
||||
|
||||
g = git.cmd.Git(os.path.dirname(__file__))
|
||||
g.pull('origin ' + branch + ' --dry-run')
|
||||
|
||||
print g
|
||||
import subprocess
|
||||
print subprocess.check_output(["git", "pull", '--dry-run', '--quiet', 'origin', branch], stderr=subprocess.STDOUT)
|
||||
|
|
Loading…
Reference in a new issue