summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/bsp/kernel.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/lib/bsp/kernel.py b/scripts/lib/bsp/kernel.py
index 8b3aa72c9c..7c6da4e2eb 100644
--- a/scripts/lib/bsp/kernel.py
+++ b/scripts/lib/bsp/kernel.py
@@ -31,6 +31,7 @@ import os
31import shutil 31import shutil
32from tags import * 32from tags import *
33import glob 33import glob
34import subprocess
34 35
35 36
36def find_bblayers(scripts_path): 37def find_bblayers(scripts_path):
@@ -678,7 +679,7 @@ def base_branches(context):
678 print "Getting branches from remote repo %s..." % giturl 679 print "Getting branches from remote repo %s..." % giturl
679 680
680 gitcmd = "git ls-remote %s *heads* 2>&1" % (giturl) 681 gitcmd = "git ls-remote %s *heads* 2>&1" % (giturl)
681 tmp = os.popen(gitcmd).read() 682 tmp = subprocess.Popen(gitcmd, shell=True, stdout=subprocess.PIPE).stdout.read()
682 683
683 branches = [] 684 branches = []
684 685
@@ -708,7 +709,7 @@ def all_branches(context):
708 print "Getting branches from remote repo %s..." % giturl 709 print "Getting branches from remote repo %s..." % giturl
709 710
710 gitcmd = "git ls-remote %s *heads* 2>&1" % (giturl) 711 gitcmd = "git ls-remote %s *heads* 2>&1" % (giturl)
711 tmp = os.popen(gitcmd).read() 712 tmp = subprocess.Popen(gitcmd, shell=True, stdout=subprocess.PIPE).stdout.read()
712 713
713 branches = [] 714 branches = []
714 715