[autotest] Typo fix in error message.
Fix a small error message typo, and remove one unnecessary temporary
variable.
TEST=None
BUG=None
Change-Id: I7d31790217b55b675e0fc76ab4576dacfb84202a
Reviewed-on: https://gerrit.chromium.org/gerrit/41085
Commit-Queue: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
diff --git a/scheduler/monitor_db.py b/scheduler/monitor_db.py
index f5a55ad..159e838 100755
--- a/scheduler/monitor_db.py
+++ b/scheduler/monitor_db.py
@@ -118,9 +118,9 @@
scheduler_config.CONFIG_SECTION, 'enable_scheduler', type=bool)
if not scheduler_enabled:
- msg = ("Scheduler not enabled, set enable_scheduler to true in the "
- "global_config's SCHEDULER section to enabled it. Exiting.")
- logging.error(msg)
+ logging.error("Scheduler not enabled, set enable_scheduler to true in "
+ "the global_config's SCHEDULER section to enable it. "
+ "Exiting.")
sys.exit(1)
global RESULTS_DIR