[Freeipa-devel] [PATCH 0289] [Py3] Replace tabs with space

Petr Vobornik pvoborni at redhat.com
Fri Jul 17 15:20:16 UTC 2015


On 07/17/2015 03:58 PM, Christian Heimes wrote:
> On 2015-07-17 15:51, Martin Basti wrote:
>> I accidentally found several tabs in code, so I fixed it, as py3 does
>> not allow to mix tabs and spaces.
>
> ACK

Pushed to:
master: c6c84faecf5b7017c0d648d76ba0db4a2eba2f03
ipa-4-2: 7e5a0be8d81c3648a0163ff454cd963eadd70ea9


>
> The other tabs are only in comments and doc strings:
>
> $ find . -name '*.py' | xargs grep -P '\t'
> ./ipaserver/dcerpc.py:  self.local_domain.ftinfo_records = []
> ./ipa-client/ipaclient/ntpconf.py:#broadcast 192.168.1.255 key 42
>          # broadcast server
> ./ipa-client/ipaclient/ntpconf.py:#broadcastclient
> # broadcast client
> ./ipa-client/ipaclient/ntpconf.py:#broadcast 224.0.1.1 key 42
> # multicast server
> ./ipa-client/ipaclient/ntpconf.py:#multicastclient 224.0.1.1
> # multicast client
> ./ipa-client/ipaclient/ntpconf.py:#manycastserver 239.255.254.254
>          # manycast server
> ./ipa-client/ipaclient/ntpconf.py:#manycastclient 239.255.254.254 key 42
>         # manycast client
> ./ipa-client/ipaclient/ntpconf.py:server        127.127.1.0     # local
> clock
> ./ipa-client/ipaclient/ntpconf.py:#fudge        127.127.1.0 stratum 10
> ./ipalib/plugins/automount.py:/-        auto.direct
> ./ipalib/plugins/automount.py:/mnt      auto.mnt
> ./ipapython/dn.py:    ava = AVA('cn', 'Bob')    # case 1: two strings
> ./ipapython/sysrestore.py:      #force file to be deleted
> ./ipatests/test_xmlrpc/test_old_permission_plugin.py:
> attrs=[u'cn']
> ./ipatests/test_xmlrpc/test_old_permission_plugin.py:
> dn=permission3_dn,
> ./ipatests/test_xmlrpc/test_old_permission_plugin.py:
> dn=permission3_dn,
> ./daemons/ipa-otpd/test.py:ATTRIBUTE    User-Name       1       string
> ./daemons/ipa-otpd/test.py:ATTRIBUTE    User-Password   2       string
> ./daemons/ipa-otpd/test.py:ATTRIBUTE    NAS-Identifier  32      string
>
>
>
>


-- 
Petr Vobornik




More information about the Freeipa-devel mailing list