diff options
author | Martin Basti <mbasti@redhat.com> | 2015-07-17 13:25:32 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2015-07-17 17:19:51 +0200 |
commit | c6c84faecf5b7017c0d648d76ba0db4a2eba2f03 (patch) | |
tree | b063634341be5709d5a57ce9369562ead0b45d01 | |
parent | 45958d62197296eabe5513ea392e204e1d49d5c6 (diff) | |
download | freeipa-c6c84faecf5b7017c0d648d76ba0db4a2eba2f03.tar.gz freeipa-c6c84faecf5b7017c0d648d76ba0db4a2eba2f03.tar.xz freeipa-c6c84faecf5b7017c0d648d76ba0db4a2eba2f03.zip |
Py3: replace tab with space
python3 does not allow to mix spaces and tabs
Reviewed-By: Christian Heimes <cheimes@redhat.com>
-rw-r--r-- | ipapython/sysrestore.py | 2 | ||||
-rw-r--r-- | ipaserver/dcerpc.py | 2 | ||||
-rw-r--r-- | ipatests/test_xmlrpc/test_old_permission_plugin.py | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/ipapython/sysrestore.py b/ipapython/sysrestore.py index 99d78b1b4..935e4c6ce 100644 --- a/ipapython/sysrestore.py +++ b/ipapython/sysrestore.py @@ -227,7 +227,7 @@ class FileStore: tasks.restore_context(path) - #force file to be deleted + # force file to be deleted self.files = {} self.save() diff --git a/ipaserver/dcerpc.py b/ipaserver/dcerpc.py index 4de5afb54..87f978cfd 100644 --- a/ipaserver/dcerpc.py +++ b/ipaserver/dcerpc.py @@ -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 diff --git a/ipatests/test_xmlrpc/test_old_permission_plugin.py b/ipatests/test_xmlrpc/test_old_permission_plugin.py index b8f06e28c..c254bf70a 100644 --- a/ipatests/test_xmlrpc/test_old_permission_plugin.py +++ b/ipatests/test_xmlrpc/test_old_permission_plugin.py @@ -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', |