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

Christian Heimes cheimes at redhat.com
Fri Jul 17 13:58:05 UTC 2015


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

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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150717/fed3f9ea/attachment.sig>


More information about the Freeipa-devel mailing list