Move client/bin/kernel_versions to common_lib; it is used by tko.

Signed-off-by: Duane Sand <duanes@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3316 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/tko/frontend.py b/tko/frontend.py
index 70ee2fc..d9aff02 100755
--- a/tko/frontend.py
+++ b/tko/frontend.py
@@ -1,13 +1,12 @@
 #!/usr/bin/python
 import os, re, db, sys, datetime
+import common
+from autotest_lib.client.common_lib import kernel_versions
+
 MAX_RECORDS = 50000L
 MAX_CELLS = 500000L
 
 tko = os.path.dirname(os.path.realpath(os.path.abspath(__file__)))
-client_bin = os.path.abspath(os.path.join(tko, '../client/bin'))
-sys.path.insert(0, client_bin)
-import kernel_versions
-
 root_url_file = os.path.join(tko, '.root_url')
 if os.path.exists(root_url_file):
     html_root = open(root_url_file, 'r').readline().rstrip()