From e486be909e5b87da18d2418047600de4135d987c 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) --- bots/zephyr_mirror.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bots/zephyr_mirror.py b/bots/zephyr_mirror.py index f2addc8..c40eb26 100755 --- a/bots/zephyr_mirror.py +++ b/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,