Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcommands/build2
-rwxr-xr-xcommands/check4
-rwxr-xr-xcommands/check-system2
-rwxr-xr-xcommands/clean2
-rwxr-xr-xcommands/distribute2
-rwxr-xr-xcommands/pull2
-rwxr-xr-xcommands/run2
-rwxr-xr-xcommands/send-patches2
-rwxr-xr-xcommands/shell2
-rw-r--r--devbot/run.py2
10 files changed, 11 insertions, 11 deletions
diff --git a/commands/build b/commands/build
index 0ac97fb..33536ac 100755
--- a/commands/build
+++ b/commands/build
@@ -1,4 +1,4 @@
-#!/usr/bin/python -u
+#!/usr/bin/env python
import argparse
import sys
diff --git a/commands/check b/commands/check
index 0567b41..5971448 100755
--- a/commands/check
+++ b/commands/check
@@ -1,4 +1,4 @@
-#!/usr/bin/python -u
+#!/usr/bin/env python
import argparse
import os
@@ -25,7 +25,7 @@ def _get_test_path(name):
def _get_python_scripts():
- shebang = "#!/usr/bin/python"
+ shebang = "#!/usr/bin/env python"
dirs = ["commands", "tools"]
scripts = []
diff --git a/commands/check-system b/commands/check-system
index f471f58..89c3596 100755
--- a/commands/check-system
+++ b/commands/check-system
@@ -1,4 +1,4 @@
-#!/usr/bin/python -u
+#!/usr/bin/env python
import argparse
import os
diff --git a/commands/clean b/commands/clean
index 67c9f2b..6ba3d63 100755
--- a/commands/clean
+++ b/commands/clean
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import common
diff --git a/commands/distribute b/commands/distribute
index 1da8b0b..6642e1e 100755
--- a/commands/distribute
+++ b/commands/distribute
@@ -1,4 +1,4 @@
-#!/usr/bin/python -u
+#!/usr/bin/env python
import sys
diff --git a/commands/pull b/commands/pull
index 313dc0f..8be2ef5 100755
--- a/commands/pull
+++ b/commands/pull
@@ -1,4 +1,4 @@
-#!/usr/bin/python -u
+#!/usr/bin/env python
import argparse
import sys
diff --git a/commands/run b/commands/run
index ef8e9af..0097e2b 100755
--- a/commands/run
+++ b/commands/run
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import sys
diff --git a/commands/send-patches b/commands/send-patches
index aa2adac..d5469f8 100755
--- a/commands/send-patches
+++ b/commands/send-patches
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import argparse
import os
diff --git a/commands/shell b/commands/shell
index 657cfce..664f218 100755
--- a/commands/shell
+++ b/commands/shell
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import os
diff --git a/devbot/run.py b/devbot/run.py
index 65eee8c..9da5873 100644
--- a/devbot/run.py
+++ b/devbot/run.py
@@ -51,7 +51,7 @@ def run_test(test_cmd, test_path):
os.rmdir(temp_dir)
try:
- command.run(["python", "-u", test_path])
+ command.run(["python", test_path])
result = True
except subprocess.CalledProcessError:
result = False