From cd40c6b56d5b19810a472cf4ec7ca4d6ce2933d7 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 19 Mar 2013 16:58:12 +0100 Subject: [PATCH] minor --- Makefile | 2 +- unfold/plugin.py | 2 +- unfold/templates/page-queries.js | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index c5c98a37..e375ae70 100644 --- a/Makefile +++ b/Makefile @@ -108,7 +108,7 @@ SSHCOMMAND:=ssh root@$(MYSLICEBOX) ### rsync options # the config file should probably not be overridden ?? # --exclude settings.py -LOCAL_RSYNC_EXCLUDES := --exclude '*.pyc' --exclude config.py --exclude all-static --exclude all-templates --exclude '*.sqlite3' +LOCAL_RSYNC_EXCLUDES := --exclude '*.pyc' --exclude config.py --exclude all-static --exclude all-templates --exclude '*.sqlite3' --exclude play/ # usual excludes RSYNC_EXCLUDES := --exclude .git --exclude '*~' --exclude TAGS --exclude .DS_Store $(LOCAL_RSYNC_EXCLUDES) # make -n will propagate as rsync -n diff --git a/unfold/plugin.py b/unfold/plugin.py index c5ce3a0a..c2bca297 100644 --- a/unfold/plugin.py +++ b/unfold/plugin.py @@ -17,7 +17,7 @@ from unfold.prelude import Prelude DEBUG= False #DEBUG= [ 'SliceList' ] -DEBUG=True +#DEBUG=True # decorator to deflect calls on Plugin to its Prelude through self.page.prelude def to_prelude (method): diff --git a/unfold/templates/page-queries.js b/unfold/templates/page-queries.js index 515196b7..a6c470b3 100644 --- a/unfold/templates/page-queries.js +++ b/unfold/templates/page-queries.js @@ -1,8 +1,8 @@ {% for json in queries_jsons %} manifold.insert_query({{ json|safe }}); {% endfor %} $(document).ready(function () { -var query_uuid_domids = new Array(); -{% for d in query_uuid_domids %} query_uuid_domids.push({'query_uuid':"{{ d.query_uuid }}", 'id':{{ d.domid }}}); + var query_uuid_domids = new Array(); +{% for d in query_uuid_domids %} query_uuid_domids.push({'query_uuid':"{{ d.query_uuid }}", 'id':{{ d.domid }}}); {% endfor %} -manifold.asynchroneous_exec(query_uuid_domids); + manifold.asynchroneous_exec(query_uuid_domids); }) -- 2.43.0