diff options
Diffstat (limited to 'lib/saml/kit/cli/yaml_registry.rb')
| -rw-r--r-- | lib/saml/kit/cli/yaml_registry.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/saml/kit/cli/yaml_registry.rb b/lib/saml/kit/cli/yaml_registry.rb index cf386df..9f825ab 100644 --- a/lib/saml/kit/cli/yaml_registry.rb +++ b/lib/saml/kit/cli/yaml_registry.rb @@ -35,8 +35,8 @@ module Saml if @in_transaction yield @items else - begin - @items.transaction do + @items.transaction do + begin @in_transaction = true yield @items ensure |
