Re: libseed-list imports.searchPath



I see. But looking at imports.searchPath it has automatic added entries for the home path of the running script and the current directory, but these are added at the end. Shouldn't they be added to the beginning?

Tim Horton wrote:
No, we iterate over it in order (from first to last) as far as I remember, just like $PATH. If you want your stuff to get found first, prepend it to searchPath, again, just like $PATH.

Could be wrong, it's been a while...

On 2010.06.16, at 06:37, Jonatan Liljedahl wrote:

In what direction is imports.searchPath searched? I guess it should start from the last one added? So that any custom paths are searched before system ones..

/Jonatan
_______________________________________________
libseed-list mailing list
libseed-list gnome org
http://mail.gnome.org/mailman/listinfo/libseed-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]