From 23f491c4415cfb3618c4faca954f6b294bd2ff4e Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 14 Apr 2015 01:29:24 -0500 Subject: [PATCH 1/2] Tweak old-style batch execution call. Need to provide config so we can remove more edbob cruft. --- tailbone/views/batches/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/views/batches/core.py b/tailbone/views/batches/core.py index 6a0cf6cb..2e98dd85 100644 --- a/tailbone/views/batches/core.py +++ b/tailbone/views/batches/core.py @@ -143,7 +143,7 @@ class ExecuteBatch(View): configure_session(self.request.rattail_config, session) batch = session.merge(batch) - if not batch.execute(progress): + if not batch.execute(self.request.rattail_config, progress): session.rollback() session.close() return From 1c15f96c65a245674dc67bd28f1cf2a52237d1ee Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 14 Apr 2015 15:08:05 -0500 Subject: [PATCH 2/2] Update changelog. --- CHANGES.rst | 6 ++++++ tailbone/_version.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 40d6f7c1..6ba29d22 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,5 +1,11 @@ .. -*- coding: utf-8 -*- +0.4.11 +------ + +* Tweak old-style batch execution call. + + 0.4.10 ------ diff --git a/tailbone/_version.py b/tailbone/_version.py index 9473323c..218dc802 100644 --- a/tailbone/_version.py +++ b/tailbone/_version.py @@ -1,3 +1,3 @@ # -*- coding: utf-8 -*- -__version__ = u'0.4.10' +__version__ = u'0.4.11'