typos; extension registering tests

Bernhard Reiter bernhard at intevation.de
Sun Dec 19 11:12:47 CET 2004


On Sat, Dec 18, 2004 at 11:40:47PM +0100, cvs at intevation.de wrote:
> Author: jan

> RCS file: /thubanrepository/thuban/Extensions/gns2shp/test/test_gns2shp.py,v

> +# Otherwise we assume that the importing code as already done it

Typo in there:  as -> has

In general: Is is okay to just commit tiny typos like this 
in commentary prose without notification or changelog entry?


It seems we start duplicating the following ugly code to some extend.
So far we cannot help this, but it is a motivation to get the 
separation of the Extensions done earlier:
	Registration
	tests
	documentation


> +if __name__ == "__main__":
> +    sys.path.append(os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])),
> +                                 "..", "..", "..", "test"))
> +    sys.path.append(os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])),
> +                                 "..", "..", "..", "Lib"))
> +    sys.path.append(os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])),
> +                                 "..", "..", ".."))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20041219/4d1d835d/attachment.bin


More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)