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

Unified Diff: slave/skia_slave_scripts/webpages_playback.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/upload_to_bucket.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: slave/skia_slave_scripts/webpages_playback.py
diff --git a/slave/skia_slave_scripts/webpages_playback.py b/slave/skia_slave_scripts/webpages_playback.py
index c61b0226b08ff0737999ed181a953b32045b13cc..385fa14d640ee7e27f39fa29f2c641f6ccd1f7bf 100644
--- a/slave/skia_slave_scripts/webpages_playback.py
+++ b/slave/skia_slave_scripts/webpages_playback.py
@@ -58,17 +58,20 @@ import time
import traceback
-from utils import misc
# Set the PYTHONPATH for this script to include chromium_buildbot scripts,
# and site_config.
-sys.path.append(os.path.join(misc.BUILDBOT_PATH, 'third_party',
- 'chromium_buildbot', 'scripts'))
-sys.path.append(os.path.join(misc.BUILDBOT_PATH, 'third_party',
- 'chromium_buildbot', 'site_config'))
+BUILDBOT_PATH = os.path.realpath(os.path.join(
+ os.path.dirname(os.path.abspath(__file__)), os.pardir, os.pardir))
+sys.path.append(os.path.join(BUILDBOT_PATH, 'common'))
+sys.path.append(os.path.join(BUILDBOT_PATH, 'third_party', 'chromium_buildbot',
+ 'scripts'))
+sys.path.append(os.path.join(BUILDBOT_PATH, 'third_party', 'chromium_buildbot',
+ 'site_config'))
from utils import file_utils
from utils import gs_utils
-from utils import shell_utils
+from py.utils import misc
+from py.utils import shell_utils
from slave import slave_utils
« no previous file with comments | « slave/skia_slave_scripts/utils/upload_to_bucket.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698