idviews: Fix typo in upgrade handling of the Default Trust View

Fixed missing comma. Also removes leading spaces from the ldif,
since this is not stripped by the updater.

Part of: https://fedorahosted.org/freeipa/ticket/3979

Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
Tomas Babej 2014-09-30 11:31:08 +02:00 committed by Martin Kosek
parent 00d598bab0
commit 00457a9c10

View File

@ -132,11 +132,11 @@ class update_default_trust_view(PostUpdate):
api.env.basedn)
default_trust_view_entry = [
'objectclass: top',
'objectclass: ipaIDView'
'cn: Default Trust View',
'description: Default Trust View for AD users. '
'Should not be deleted.'
'objectclass:top',
'objectclass:ipaIDView',
'cn:Default Trust View',
'description:Default Trust View for AD users. '
'Should not be deleted.',
]
# First, see if trusts are enabled on the server