mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
update-deployment: Remove obsolete deletion of pyc files.
Since we do a fresh clone every time, there never are any. (imported from commit ffd0baba3cf26b019c968b99e7f43c9bcc40b175)
This commit is contained in:
@@ -49,9 +49,6 @@ subprocess.check_call(["git", "clone", "-q", "-b", refname,
|
||||
deploy_path], stdout=open('/dev/null', 'w'))
|
||||
os.chdir(deploy_path)
|
||||
|
||||
# Delete all .pyc files to avoid old module files hanging around
|
||||
subprocess.check_call(["find", ".", "-name", "*.pyc", "-delete"], stdout=open('/dev/null', 'w'))
|
||||
|
||||
# Update static files
|
||||
logging.info("Updating static files")
|
||||
subprocess.check_call(["./scripts/update-prod-static", "--prev-deploy",
|
||||
|
||||
Reference in New Issue
Block a user