mirror of https://github.com/zulip/zulip.git
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:
parent
cb81a59e38
commit
a315849a9e
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
Loading…
Reference in New Issue