Default options were never returned if omit_pillar flag was set to false

This commit is contained in:
Michał Jarco 2013-01-19 13:31:49 +01:00
parent 2a3ac0b7c9
commit e05cc0c10d

View File

@ -92,7 +92,7 @@ def option(
if not omit_pillar:
if value in __pillar__:
return __pillar__[value]
elif value in DEFAULTS:
if value in DEFAULTS:
return DEFAULTS[value]
return default