Change oneliner if-statements to be more readable

This commit is contained in:
Sebastian Gumprich 2015-08-06 14:00:14 +00:00
parent 40c2d36ddb
commit 9befb22e13

View file

@ -129,7 +129,7 @@ LOGIN_TIMEOUT {{os_auth_timeout}}
CHFN_RESTRICT {{ os_chfn_restrict }} CHFN_RESTRICT {{ os_chfn_restrict }}
{% endif %} {% endif %}
# Should login be allowed if we can't cd to the home directory? # Should login be allowed if we can't cd to the home directory?
DEFAULT_HOME {% if os_auth_allow_homeless -%}yes{% else -%}no{% endif %} DEFAULT_HOME {{ 'yes' if os_auth_allow_homeless else 'no' }}
# If defined, this command is run when removing a user. # If defined, this command is run when removing a user.
# It should remove any at/cron/print jobs etc. owned by # It should remove any at/cron/print jobs etc. owned by