mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 00:06:36 +00:00
[fix] pull 'upstream'
This commit is contained in:
parent
2d716f261d
commit
47b65ec28f
@ -106,7 +106,7 @@ def pull_all_apps(bench='.'):
|
||||
contents = subprocess.check_output(['git', 'remote', '-v'], cwd=app_dir,
|
||||
stderr=subprocess.STDOUT)
|
||||
|
||||
if 'upstream ' in contents:
|
||||
if re.findall('upstream[\s]+', contents):
|
||||
remote = 'upstream'
|
||||
else:
|
||||
# get the first remote
|
||||
|
Loading…
Reference in New Issue
Block a user