Fixed small bugs in setup_chromeos.py and test_client.py.
PRESUBMIT=passed
R=raymes
DELTA=15 (10 added, 0 deleted, 5 changed)
RCL=45699-p2
RDATE=2010/12/08 13:46:21
P4 change: 42606939
diff --git a/v14/build_tc.py b/v14/build_tc.py
index b968e37..b3f0c9c 100755
--- a/v14/build_tc.py
+++ b/v14/build_tc.py
@@ -20,12 +20,15 @@
from utils import utils
from utils import logger
-# Common initializations
-cmd_executer = command_executer.GetCommandExecuter()
+
+cmd_executer = None
def Main(argv):
"""The main function."""
+ # Common initializations
+ global cmd_executer
+ cmd_executer = command_executer.GetCommandExecuter()
rootdir = utils.GetRoot(sys.argv[0])[0]
parser = optparse.OptionParser()