diff options
author | jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> | 2008-05-01 22:22:51 +0000 |
---|---|---|
committer | jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> | 2008-05-01 22:22:51 +0000 |
commit | 45a7da3ce181b94927c1e8e0c45069ca92c18b1f (patch) | |
tree | e72f73350bd012e71f88495ac97e29486cf674dc /tko/test.cgi | |
parent | 8c19c0c9329a5efc9c239961cfc9a513b0ee5780 (diff) |
Convert tko/*.cgi to use absolute imports, to resolve some
ambiguity with importing "frontend".
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@1482 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko/test.cgi')
-rw-r--r-- | tko/test.cgi | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tko/test.cgi b/tko/test.cgi index d96d82f5..a1597ae4 100644 --- a/tko/test.cgi +++ b/tko/test.cgi @@ -9,9 +9,8 @@ import cgi, cgitb, os, sys, re sys.stdout.flush() cgitb.enable() -tko = os.path.dirname(os.path.realpath(os.path.abspath(sys.argv[0]))) -sys.path.insert(0, tko) -import db, display, frontend +import common +from autotest_lib.tko import db, display, frontend db = db.db() |