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:
Tim Abbott
2013-10-31 11:56:29 -04:00
parent 83fd197ffc
commit 5afb0ed7d1

View File

@@ -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",