Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/run.py
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-12-28 16:44:06 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-12-28 16:44:06 (GMT)
commit08c27487173faf6a86b5fe20e6b545033b6d1638 (patch)
tree6b412c3c7bd0f7d72ad3c5d20221b740778c63bd /devbot/run.py
parent542477741abe0135c652a78911a0eb9aec9b1a19 (diff)
Rework initialization
To avoid duplicatin environ setup calls.
Diffstat (limited to 'devbot/run.py')
-rw-r--r--devbot/run.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/devbot/run.py b/devbot/run.py
index 8f55d65..08ebe94 100644
--- a/devbot/run.py
+++ b/devbot/run.py
@@ -6,13 +6,10 @@ import sys
import time
import tempfile
-from devbot import environ
from devbot import config
def run(command):
- environ.setup()
-
args = [command, "--home-dir", config.home_dir]
resolution = config.get_pref("RESOLUTION")
@@ -33,8 +30,6 @@ def run(command):
def run_test(command, test_path):
- environ.setup()
-
temp_dir = tempfile.mkdtemp("sugar-build-test")
display_path = os.path.join(temp_dir, "display")