Umlauts and Indentation
Bernhard Herzog
bh at intevation.de
Thu Dec 9 21:46:39 CET 2004
Bernhard Reiter <bernhard at intevation.de> writes:
> On Tue, Dec 07, 2004 at 05:44:53PM +0100, cvs at intevation.de wrote:
>> Author: nhueffme
>> test_OGRShapestore.py
[...]
> The encoding of the python file is not declared,
> the warning has the details:
[...]
> This can only be seen with newer python versions.
More precisely Python >= 2.3
> Some files use tabs and spaces intermixed.
> In general this calls for trouble, this is why the Thuban
> coding guidelines (in Docs/technotes/ ) have the following:
>
> Source Formatting
> - Use only spaces for indentation. Each
> indentation level is four spaces.
Plus (also from coding_guidelines.txt):
- All lines should be at most 79 characters long
Bernhard
--
Intevation GmbH http://intevation.de/
Skencil http://skencil.org/
Thuban http://thuban.intevation.org/
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)