Replace python2.7 by python everywhere.

This commit is contained in:
Eklavya Sharma
2016-04-07 18:57:25 +05:30
committed by Tim Abbott
parent 149938d468
commit 94e4b39112
24 changed files with 61 additions and 61 deletions

View File

@@ -21,10 +21,10 @@ if pwd.getpwuid(os.getuid())[0] != "zulip":
sys.exit(1)
# Send a statsd event on restarting the server
subprocess.check_call(["python2.7", "./manage.py", "send_stats", "incr", "events.server_restart", str(int(time.time()))])
subprocess.check_call(["python", "./manage.py", "send_stats", "incr", "events.server_restart", str(int(time.time()))])
logging.info("Filling memcached caches")
subprocess.check_call(["python2.7", "./manage.py", "fill_memcached_caches"])
subprocess.check_call(["python", "./manage.py", "fill_memcached_caches"])
# Restart the FastCGI and related processes via supervisorctl.
logging.info("Stopping workers")