summaryrefslogtreecommitdiff
path: root/tko/compose_query.cgi
diff options
context:
space:
mode:
authormbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2007-11-05 18:12:16 +0000
committermbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2007-11-05 18:12:16 +0000
commit2cfa31d5b6043ec4d21759180ebdab71054605a8 (patch)
treed5f671b638b4756a655e6a412a0ed31507586402 /tko/compose_query.cgi
parentd3dd01a0f0673a9d81b7597a0bd1747a9934b01e (diff)
Import os module.
From: Radha Ramachandran <radha@google.com> Signed-off-by: Martin Bligh <mbligh@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@886 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko/compose_query.cgi')
-rw-r--r--tko/compose_query.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/tko/compose_query.cgi b/tko/compose_query.cgi
index 2eba013d..b8ec758f 100644
--- a/tko/compose_query.cgi
+++ b/tko/compose_query.cgi
@@ -9,7 +9,7 @@ in the matrix.
print "Content-type: text/html\n"
import cgi, cgitb, re
-import sys
+import sys, os
tko = os.path.dirname(os.path.realpath(os.path.abspath(sys.argv[0])))
sys.path.insert(0, tko)