summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2011-11-15 23:53:05 +0100
committerJohannes Weiner <hannes@cmpxchg.org>2011-11-24 16:52:52 +0100
commit3df3a46a5158ddbcc77f5d1550b664bba67d94f7 (patch)
treefafa6f20ecec2ba8e4e513946c51f48c457e3160
parent13ba8becef44d7fc030a97b9efdacf03e2e4ffe4 (diff)
use python2 explicitely
Enable the utilities to run on systems where /usr/bin/python is python3. The code should be ready for python3 but matplotlib, required for plot, is not. Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
-rwxr-xr-xcolumns2
-rwxr-xr-xdelta2
-rwxr-xr-xevents2
-rwxr-xr-xmean2
-rwxr-xr-xmedian2
-rwxr-xr-xplot2
-rwxr-xr-xreaddict2
-rwxr-xr-xruntest2
8 files changed, 8 insertions, 8 deletions
diff --git a/columns b/columns
index 186922d..da2a571 100755
--- a/columns
+++ b/columns
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
from __future__ import print_function
import libstatutils
diff --git a/delta b/delta
index e5859f2..3e469a4 100755
--- a/delta
+++ b/delta
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
from __future__ import print_function
import libstatutils
diff --git a/events b/events
index bbfe838..bf09968 100755
--- a/events
+++ b/events
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
from __future__ import print_function
import libstatutils
diff --git a/mean b/mean
index 3b4b730..a0e0e0b 100755
--- a/mean
+++ b/mean
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
from __future__ import print_function
import libstatutils
diff --git a/median b/median
index d2e0b35..c6832dc 100755
--- a/median
+++ b/median
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
from __future__ import print_function
import libstatutils
diff --git a/plot b/plot
index 38fa215..d8d77cb 100755
--- a/plot
+++ b/plot
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
import matplotlib.pyplot as plt
import libstatutils
diff --git a/readdict b/readdict
index a4e9a7e..076e539 100755
--- a/readdict
+++ b/readdict
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
from __future__ import print_function
import sys
diff --git a/runtest b/runtest
index 087fa59..d0f4cf7 100755
--- a/runtest
+++ b/runtest
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
from __future__ import print_function
import subprocess