Fix paths to zulip_tools for relocated scripts.

(imported from commit 9a3664c0f7da1ce6dcb554e7e9ddef5bde6cad7e)
This commit is contained in:
Tim Abbott 2013-11-14 10:35:21 -05:00
parent ce2da6c18a
commit af21f943a2
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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",