From 29f271e0c88a996f4b0d8c65c3812dbb3a91a603 Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Sat, 15 Mar 2014 22:56:11 +0200 Subject: transaction: adjust indentation --- aconf/transaction/init.lua | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'aconf/transaction') diff --git a/aconf/transaction/init.lua b/aconf/transaction/init.lua index 9e508b9..cd7fc5f 100644 --- a/aconf/transaction/init.lua +++ b/aconf/transaction/init.lua @@ -116,11 +116,9 @@ local store = require('aconf.persistence') local def_store = require('aconf.persistence.defer') return function(options) - options = options or {} - return ModelTransaction( - options.parent or ( - options.allow_commit_defer and def_store or store - ), - not (options.parent and options.defer_validation) - ) - end + options = options or {} + return ModelTransaction( + options.parent or (options.allow_commit_defer and def_store or store), + not (options.parent and options.defer_validation) + ) +end -- cgit v1.2.3