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] |