ZwenAusZwota / pyector

Automatically exported from code.google.com/p/pyector
0 stars 0 forks source link

Make License a module to import #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to another directory than the root directory of the project
2. Launch pyector
3. type @show w or @show c

What is the expected output? What do you see instead?

One should get the warranty or the copyright.
Instead, there will be an error, since the program looks for a file,
according to a relative path.

Making a module containing a dictionary with lines of the license will
replace the opening of a file, using a relative path.

Original issue reported on code.google.com by francois.parmentier@gmail.com on 5 Dec 2008 at 7:16

GoogleCodeExporter commented 8 years ago
r195 fixes this, in a more elegant manner.

See http://diveintopython.org/functional_programming/finding_the_path.html

Original comment by francois.parmentier@gmail.com on 9 Dec 2008 at 12:48