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

Unified Diff: slave/skia_slave_scripts/utils/force_update_checkout.py

Issue 344183004: Use new common utils where possible. (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: rebase Created 6 years, 5 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 | « slave/skia_slave_scripts/utils/file_utils_test.py ('k') | slave/skia_slave_scripts/utils/gclient_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: slave/skia_slave_scripts/utils/force_update_checkout.py
diff --git a/slave/skia_slave_scripts/utils/force_update_checkout.py b/slave/skia_slave_scripts/utils/force_update_checkout.py
index 631d1c73bd6b3f18a72c5f7fa50387798e0f643e..a68f34aa581f7fe4f63277ded557055d61bafbf6 100644
--- a/slave/skia_slave_scripts/utils/force_update_checkout.py
+++ b/slave/skia_slave_scripts/utils/force_update_checkout.py
@@ -12,15 +12,19 @@ import os
import shlex
import sys
-import misc
+BUILDBOT_PATH = os.path.realpath(os.path.join(
+ os.path.dirname(os.path.abspath(__file__)), os.pardir, os.pardir, os.pardir)
+)
-sys.path.append(os.path.join(misc.BUILDBOT_PATH, 'site_config'))
-sys.path.append(os.path.join(misc.BUILDBOT_PATH, 'third_party',
+sys.path.append(os.path.join(BUILDBOT_PATH, 'common'))
+sys.path.append(os.path.join(BUILDBOT_PATH, 'site_config'))
+sys.path.append(os.path.join(BUILDBOT_PATH, 'third_party',
'chromium_buildbot', 'scripts'))
import gclient_utils
-import git_utils
-import shell_utils
+from py.utils import git_utils
+from py.utils import misc
+from py.utils import shell_utils
import skia_vars
« no previous file with comments | « slave/skia_slave_scripts/utils/file_utils_test.py ('k') | slave/skia_slave_scripts/utils/gclient_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698