Fix reference to utils model, use complete path
Signed-off-by: Gustavo Rahal <grahal@br.ibm.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1489 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/utils.py b/server/utils.py
index 59232f4..562cf48 100644
--- a/server/utils.py
+++ b/server/utils.py
@@ -204,7 +204,7 @@
def get_server_dir():
- path = os.path.dirname(sys.modules['utils'].__file__)
+ path = os.path.dirname(sys.modules['autotest_lib.server.utils'].__file__)
return os.path.abspath(path)