Browse Source

Fix coding styles

Cheng Zhao 9 years ago
parent
commit
71b67534a8
2 changed files with 4 additions and 4 deletions
  1. 2 2
      script/bootstrap.py
  2. 2 2
      tools/linux/pkg-config-wrapper

+ 2 - 2
script/bootstrap.py

@@ -164,12 +164,12 @@ def update_clang():
 
 
 def download_sysroot(target_arch):
-  python = sys.executable;
   if target_arch == 'ia32':
     target_arch = 'i386'
   if target_arch == 'x64':
     target_arch = 'amd64'
-  execute_stdout([python, os.path.join(SOURCE_ROOT, 'script', 'install-sysroot.py'),
+  execute_stdout([sys.executable,
+                  os.path.join(SOURCE_ROOT, 'script', 'install-sysroot.py'),
                   '--arch', target_arch])
 
 def create_chrome_version_h():

+ 2 - 2
tools/linux/pkg-config-wrapper

@@ -33,8 +33,8 @@ fi
 
 python2=$(which python2)
 if [ ! -x "$python2" ] ; then
-	python2=python
-fi 
+  python2=python
+fi
 
 rewrite=`dirname $0`/rewrite_dirs.py
 package=${!#}