From 42097b377b8204aa02df3c5fcb92c18ce95253ab Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 29 Oct 2012 14:34:15 -0400 Subject: [PATCH] zephyr_mirror: Clean up sys.path computations. (imported from commit 7a58c4aae017b67b8b03ba1f4a0286d29381a5b1) --- api/bots/zephyr_mirror.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/bots/zephyr_mirror.py b/api/bots/zephyr_mirror.py index f2addc8ad9..c40eb262c7 100755 --- a/api/bots/zephyr_mirror.py +++ b/api/bots/zephyr_mirror.py @@ -12,6 +12,7 @@ import textwrap import signal root_path = "/mit/tabbott/for_friends" +sys.path.append(root_path) sys.path.append(root_path + "/python-zephyr") sys.path.append(root_path + "/python-zephyr/build/lib.linux-x86_64-2.6/") @@ -68,8 +69,6 @@ parser.add_option('--api-key-file', api_key = file(options.api_key_file).read().strip() -sys.path.append(".") -sys.path.append(os.path.dirname(os.path.dirname(__file__))) import api.common humbug_client = api.common.HumbugAPI(email=options.user + "@mit.edu", api_key=api_key,