[MERGE] Remove tab characters

John Arbash Meinel john at arbash-meinel.com
Mon Nov 6 21:05:06 GMT 2006


There were 2 files in the bzrlib source that used tab characters. The
attached patch fixes them, and adds a test to 'test_source.py' to check
that none of the bzrlib source files have a real tab character.

In general, we don't need them, since in a string you can use '\t', and
in the file you should be using spaces anyway.

Mostly the test is to prevent us from accidentally merging a patch which
adds tab characters. We can usually spot them in review, but just in case.

Now if only we had a test for PEP-8. I've thought about writing one, but
it isn't very straightforward to get all the edge cases right.

John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_tabs.patch
Type: text/x-patch
Size: 2991 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061106/d163fb08/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061106/d163fb08/attachment.pgp 


More information about the bazaar mailing list