summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2015-02-03 14:24:42 +0800
committerRico Tzschichholz <ricotz@ubuntu.com>2015-06-27 22:40:01 +0200
commit12b291c2cc516ad9b1c4943b0e5d7501853fd330 (patch)
treef0299c1ee8e9cd49fbdc9e5cec48417476f49c1b
parent63dba18ce5de08cb0f5ca6b605c53d05b1977092 (diff)
test/dbus: don't hardcode python path
https://bugs.freedesktop.org/show_bug.cgi?id=73837
-rw-r--r--test/dbus/blacklist-test.py2
-rw-r--r--test/dbus/dsr-test.py2
-rw-r--r--test/dbus/engine-test.py2
-rw-r--r--test/dbus/histogram-test.py2
-rw-r--r--test/dbus/monitor-test.py2
-rw-r--r--test/dbus/remote-test.py2
-rw-r--r--test/dbus/result-types-test.py2
-rwxr-xr-xtest/dbus/run-all-tests.py2
-rw-r--r--test/dbus/upgrade-test.py2
-rwxr-xr-xtools/talis2
10 files changed, 10 insertions, 10 deletions
diff --git a/test/dbus/blacklist-test.py b/test/dbus/blacklist-test.py
index 4933d285..edbdb219 100644
--- a/test/dbus/blacklist-test.py
+++ b/test/dbus/blacklist-test.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
# -.- coding: utf-8 -.-
# remote-test.py
diff --git a/test/dbus/dsr-test.py b/test/dbus/dsr-test.py
index e7b934de..9baed85e 100644
--- a/test/dbus/dsr-test.py
+++ b/test/dbus/dsr-test.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
# -.- coding: utf-8 -.-
# remote-test.py
diff --git a/test/dbus/engine-test.py b/test/dbus/engine-test.py
index 93e350a6..d550a12f 100644
--- a/test/dbus/engine-test.py
+++ b/test/dbus/engine-test.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
# -.- coding: utf-8 -.-
# engine-test.py
diff --git a/test/dbus/histogram-test.py b/test/dbus/histogram-test.py
index d42960f7..bd303f41 100644
--- a/test/dbus/histogram-test.py
+++ b/test/dbus/histogram-test.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
# -.- coding: utf-8 -.-
# histogram-test.py
diff --git a/test/dbus/monitor-test.py b/test/dbus/monitor-test.py
index 62db8104..f931b293 100644
--- a/test/dbus/monitor-test.py
+++ b/test/dbus/monitor-test.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
# -.- coding: utf-8 -.-
# remote-test.py
diff --git a/test/dbus/remote-test.py b/test/dbus/remote-test.py
index 72f80a06..4b2d1632 100644
--- a/test/dbus/remote-test.py
+++ b/test/dbus/remote-test.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
# -.- coding: utf-8 -.-
# remote-test.py
diff --git a/test/dbus/result-types-test.py b/test/dbus/result-types-test.py
index c4f57292..dbae9fe0 100644
--- a/test/dbus/result-types-test.py
+++ b/test/dbus/result-types-test.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
# -.- coding: utf-8 -.-
# result-types-test.py
diff --git a/test/dbus/run-all-tests.py b/test/dbus/run-all-tests.py
index b4882a75..386a9f97 100755
--- a/test/dbus/run-all-tests.py
+++ b/test/dbus/run-all-tests.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -.- coding: utf-8 -.-
# Zeitgeist
diff --git a/test/dbus/upgrade-test.py b/test/dbus/upgrade-test.py
index fd57bc9e..1c16d026 100644
--- a/test/dbus/upgrade-test.py
+++ b/test/dbus/upgrade-test.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
# -.- coding: utf-8 -.-
# upgrade-test.py
diff --git a/tools/talis b/tools/talis
index cd3bb9ff..ab7e5788 100755
--- a/tools/talis
+++ b/tools/talis
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
import sys, os
from zeitgeist.datamodel import Event, Subject, ResultType, TimeRange