diff options
author | jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> | 2008-05-21 19:51:28 +0000 |
---|---|---|
committer | jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> | 2008-05-21 19:51:28 +0000 |
commit | 35c52e3d4b72862fd67e6610017108c27b05a897 (patch) | |
tree | 7015b48a8c75205551bcfd4214184798845974bf | |
parent | 691788731c2e7aa08cfa92deb6617f882f7f840f (diff) | |
download | autotest-35c52e3d4b72862fd67e6610017108c27b05a897.tar.gz |
Fix up an issue with the root common.py; it doesn't abspathify
the dirname it uses. The __file__ attribute probably already is
abspathified anyway, but this makes sure, and makes it more
consistent with the other common.py files (where it does matter).
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1541 592f7852-d20e-0410-864c-8624ca9c26a4
-rw-r--r-- | common.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ import os, sys dirname = os.path.dirname(sys.modules[__name__].__file__) -autotest_dir = dirname +autotest_dir = os.path.abspath(dirname) client_dir = os.path.join(autotest_dir, "client") sys.path.insert(0, client_dir) import setup_modules |