mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
pg_backup_and_purge: Don't try to use a virtualenv.
This makes this actually work if the postgres server is different from the Zulip app frontend.
This commit is contained in:
@@ -3,9 +3,6 @@
|
||||
from __future__ import print_function
|
||||
|
||||
import sys
|
||||
sys.path.append('/home/zulip/deployments/current')
|
||||
import scripts.lib.setup_path_on_import
|
||||
|
||||
import glob
|
||||
import subprocess
|
||||
import sys
|
||||
@@ -13,7 +10,7 @@ import logging
|
||||
import dateutil.parser
|
||||
import pytz
|
||||
from datetime import datetime, timedelta
|
||||
from typing import List
|
||||
if False: from typing import List
|
||||
|
||||
logging.basicConfig(format="%(asctime)s %(levelname)s: %(message)s")
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
Reference in New Issue
Block a user