--- a/src/pyams_alchemy/zmi/engine.py Wed Apr 11 10:51:39 2018 +0200
+++ b/src/pyams_alchemy/zmi/engine.py Wed Apr 11 10:52:14 2018 +0200
@@ -218,8 +218,10 @@
@property
def data_attributes(self):
attrs = super(AlchemyEngineTestResults, self).data_attributes
- attrs['table'] = {'data-ams-datatable-global-filter': 'false',
- 'data-ams-datatable-pagination-size': 'false'}
+ attrs['table'] = {
+ 'data-ams-datatable-global-filter': 'false',
+ 'data-ams-datatable-pagination-size': 'false'
+ }
return attrs
def initColumns(self):
@@ -245,8 +247,10 @@
def get_ajax_output(self, changes):
result = AlchemyEngineTestResults(self.context, self.request, changes)
result.update()
- return {'status': 'success',
- 'content': {
- 'html': result.render()
- },
- 'close_form': False}
+ return {
+ 'status': 'success',
+ 'content': {
+ 'html': result.render()
+ },
+ 'close_form': False
+ }