Move bin/log-management-command to scripts/lib/.

We're in the process of eliminating the bin/ subdirectory in favor of
the scripts/ tree, and this one isn't user-facing.
This commit is contained in:
Tim Abbott 2016-05-07 19:00:48 -07:00
parent cb81a59e38
commit a315849a9e
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ if __name__ == "__main__":
from django.conf import settings
logger = logging.getLogger("zulip.management")
subprocess.check_call([os.path.join(os.path.dirname(__file__), "bin", "log-management-command"),
subprocess.check_call([os.path.join(os.path.dirname(__file__), "scripts", "lib", "log-management-command"),
" ".join(sys.argv)])
if "--no-traceback" not in sys.argv and len(sys.argv) > 1:

View File

@ -2,7 +2,7 @@
import sys
import logging
import os
sys.path.append(os.path.join(os.path.dirname(__file__), ".."))
sys.path.append(os.path.join(os.path.dirname(__file__), "..", ".."))
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "zproject.settings")
from django.conf import settings