From 2cd3653def539985995c7788f27df92bd277419d Mon Sep 17 00:00:00 2001 From: j Date: Tue, 28 Feb 2017 20:42:53 +0100 Subject: [PATCH] avoid documentfind rebuild before document db migration --- update.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/update.py b/update.py index 70b9cd33..5cb286a5 100755 --- a/update.py +++ b/update.py @@ -208,7 +208,7 @@ if __name__ == "__main__": if old <= 5443: gunicorn_config = 'pandora/gunicorn_config.py' if not os.path.exists(gunicorn_config): - shutil.copy('%s.in'%gunicorn_config, gunicorn_config) + shutil.copy('%s.in' % gunicorn_config, gunicorn_config) if os.path.exists('/etc/init/pandora.conf'): with open('/etc/init/pandora.conf') as fd: data = fd.read() @@ -220,8 +220,6 @@ if __name__ == "__main__": run('./bin/pip', 'install', '-r', 'requirements.txt') update_service('pandora-encoding') update_service('pandora-tasks') - if old <= 5673: - run('./pandora/manage.py', 'rebuild_documentfind') else: if len(sys.argv) == 1: release = get_release()