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

Unified Diff: tools/promote.py

Issue 1133573002: Remove promote script from editor/build and put it under tools (where it really belongs) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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 | « editor/build/promote.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/promote.py
diff --git a/editor/build/promote.py b/tools/promote.py
similarity index 96%
rename from editor/build/promote.py
rename to tools/promote.py
index 366e1b90a5a7af0579cbbbb42b148b954ebbd225..b17dd5e5d59835505ac6663d1a65bb26482265fe 100644
--- a/editor/build/promote.py
+++ b/tools/promote.py
@@ -13,14 +13,11 @@ import subprocess
import sys
import time
import urllib
+import bots.bot_utils as bot_utils
from os.path import join
-DART_PATH = os.path.abspath(os.path.join(__file__, '..', '..', '..'))
-BOT_UTILS = os.path.abspath(os.path.join(
- DART_PATH, 'tools', 'bots', 'bot_utils.py'))
-
-bot_utils = imp.load_source('bot_utils', BOT_UTILS)
+DART_PATH = os.path.abspath(os.path.join(__file__, '..', '..'))
def BuildOptions():
usage = """usage: %prog promote [options]
« no previous file with comments | « editor/build/promote.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698