mirror of https://github.com/zulip/zulip.git
Fix paths to zulip_tools for relocated scripts.
(imported from commit 9a3664c0f7da1ce6dcb554e7e9ddef5bde6cad7e)
This commit is contained in:
parent
ce2da6c18a
commit
af21f943a2
|
@ -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:
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue