# HG changeset patch # User ymh # Date 1361483876 -3600 # Node ID e7a2e615eced72c9f2f09f01a6b863f4f94ceead # Parent 59c080c5148fb57e5b0d90612586f02c0f7caca6 fab corrections diff -r 59c080c5148f -r e7a2e615eced sbin/sync/fabfile.py --- a/sbin/sync/fabfile.py Thu Feb 21 18:33:09 2013 +0100 +++ b/sbin/sync/fabfile.py Thu Feb 21 22:57:56 2013 +0100 @@ -1,10 +1,12 @@ +from fabric.api import task, env, sudo + from fablib import (export_version, do_sync_web, create_config, clean_export_folder, sync_install_build, do_create_virtualenv, clean_rsync_folder, rsync_export, do_relaunch_server) -from fabric.api import task, env, sudo from fabric.colors import green import imp import os.path +import config @task def relaunch_server(do_collectstatic=True, do_syncdb=True): diff -r 59c080c5148f -r e7a2e615eced src/egonomy/config.py.tmpl --- a/src/egonomy/config.py.tmpl Thu Feb 21 18:33:09 2013 +0100 +++ b/src/egonomy/config.py.tmpl Thu Feb 21 22:57:56 2013 +0100 @@ -24,7 +24,7 @@ 'default': { 'ENGINE': 'egonomy.search_indexes.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'URL': '%(haystack_url)s', - 'INDEX_NAME': '%(haystack_index)', + 'INDEX_NAME': '%(haystack_index)s', }, }