Py3: replace tab with space

python3 does not allow to mix spaces and tabs

Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Martin Basti 2015-07-17 13:25:32 +02:00 committed by Petr Vobornik
parent 45958d6219
commit c6c84faecf
3 changed files with 5 additions and 5 deletions

View File

@ -227,7 +227,7 @@ class FileStore:
tasks.restore_context(path)
#force file to be deleted
# force file to be deleted
self.files = {}
self.save()

View File

@ -1276,7 +1276,7 @@ class TrustDomainJoins(object):
if self.local_domain.read_only:
return
self.local_domain.ftinfo_records = []
self.local_domain.ftinfo_records = []
realm_domains = self.api.Command.realmdomains_show()['result']
# Use realmdomains' modification timestamp to judge records last update time

View File

@ -1030,7 +1030,7 @@ class test_old_permission(Declarative):
'permission_add', [permission3], dict(
type=u'user',
permissions=u'write',
attrs=[u'cn']
attrs=[u'cn']
)
),
expected=dict(
@ -1057,7 +1057,7 @@ class test_old_permission(Declarative):
value=permission3,
summary=None,
result=dict(
dn=permission3_dn,
dn=permission3_dn,
cn=[permission3],
objectclass=objectclasses.permission,
type=u'user',
@ -1080,7 +1080,7 @@ class test_old_permission(Declarative):
value=permission3,
summary=u'Modified permission "%s"' % permission3,
result=dict(
dn=permission3_dn,
dn=permission3_dn,
cn=[permission3],
objectclass=objectclasses.permission,
type=u'user',