Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: client/virt/common.py

Issue 6883246: Merge autotest upstream from @5318 ~ @5336 (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/virt/aexpect.py ('k') | client/virt/kvm_installer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/virt/common.py
diff --git a/client/virt/common.py b/client/virt/common.py
new file mode 100644
index 0000000000000000000000000000000000000000..7fc8f6a57805330af69dae3e42e33e3df2d1d6a9
--- /dev/null
+++ b/client/virt/common.py
@@ -0,0 +1,9 @@
+import os, sys
+dirname = os.path.dirname(sys.modules[__name__].__file__)
+client_dir = os.path.abspath(os.path.join(dirname, ".."))
+sys.path.insert(0, client_dir)
+import setup_modules
+sys.path.pop(0)
+setup_modules.setup(base_path=client_dir,
+ root_module_name="autotest_lib.client")
+
« no previous file with comments | « client/virt/aexpect.py ('k') | client/virt/kvm_installer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698