From af21f943a2044f69773c6983a882ff3e68383d6c Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 14 Nov 2013 10:35:21 -0500 Subject: [PATCH] Fix paths to zulip_tools for relocated scripts. (imported from commit 9a3664c0f7da1ce6dcb554e7e9ddef5bde6cad7e) --- scripts/lib/unpack-zulip | 2 +- scripts/lib/upgrade-zulip-stage-2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/unpack-zulip b/scripts/lib/unpack-zulip index 02ec7d95e9..31365c1316 100755 --- a/scripts/lib/unpack-zulip +++ b/scripts/lib/unpack-zulip @@ -6,7 +6,7 @@ import datetime import tempfile import glob -sys.path.append(os.path.join(os.path.dirname(__file__), '..')) +sys.path.append(os.path.join(os.path.dirname(__file__), '..', "..")) from zulip_tools import DEPLOYMENTS_DIR, FAIL, ENDC, make_deploy_path if len(sys.argv) != 2: diff --git a/scripts/lib/upgrade-zulip-stage-2 b/scripts/lib/upgrade-zulip-stage-2 index e665981c85..6aa0eae22a 100755 --- a/scripts/lib/upgrade-zulip-stage-2 +++ b/scripts/lib/upgrade-zulip-stage-2 @@ -4,7 +4,7 @@ import os import sys import logging -sys.path.append(os.path.join(os.path.dirname(__file__), '..')) +sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..')) from zulip_tools import FAIL, WARNING, ENDC, su_to_zulip logging.basicConfig(format="%(asctime)s upgrade-zulip-stage-2: %(message)s",