sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #05223
[Bug 799223] Re: during import search dir of importing script first
** Changed in: sikuli
Status: In Progress => Fix Committed
** Changed in: sikuli
Milestone: None => x1.0-rc3
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/799223
Title:
during import search dir of importing script first
Status in Sikuli:
Fix Committed
Bug description:
Factored out from the very long bug #799067.
The standard import in a Sikuli script does not search for an imported
.sikuli in the directory containing the main script. Need to mention
that normal Python does look up in this dir first. For Sikuli there is
a documented workaround - http://sikuli.org/docx/globals.html - but it
is not intuitive for Python users mainly because it doesn't explain
why this change of behavior is required.
RaiMan adds:
It is the users responsibility to avoid naming conflicts
between .py-modules and .sikuli-folders. This behavior should be
consistent for any supported type of running a Sikuli script.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/799223/+subscriptions
References