[sikuli] 142/385: basic image path reset should not need a parameter
Gilles Filippini
pini at moszumanska.debian.org
Sun Jun 29 19:26:01 UTC 2014
This is an automated email from the git hooks/post-receive script.
pini pushed a commit to tag upstream/1.1.0_beta1
in repository sikuli.
commit 4a9a71819575705f85d38dcb4b6374f8c338ea60
Author: Raimund Hocke <rmhdevelop at me.com>
Date: Thu Jan 9 11:53:44 2014 +0100
basic image path reset should not need a parameter
---
Basics/src/main/resources/Lib/sikuli/Sikuli.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Basics/src/main/resources/Lib/sikuli/Sikuli.py b/Basics/src/main/resources/Lib/sikuli/Sikuli.py
index ead3fd5..52e7c98 100755
--- a/Basics/src/main/resources/Lib/sikuli/Sikuli.py
+++ b/Basics/src/main/resources/Lib/sikuli/Sikuli.py
@@ -62,7 +62,6 @@ from org.sikuli.script.KeyModifier import KEY_CTRL, KEY_SHIFT, KEY_META, KEY_CMD
from org.sikuli.script import Mouse
Debug.log(3, "Jython: sikuli: Sikuli: import from Basics")
-from org.sikuli.script import ImageLocator
from org.sikuli.basics import Settings
from org.sikuli.basics import ExtensionManager
@@ -152,7 +151,9 @@ def removeImagePath(path):
##
# reset the image path, so it only contains the bundlepath
#
-def resetImagePath(path):
+def resetImagePath(path = None):
+ if not path:
+ path = getBundlePath();
ImagePath.reset(path)
##
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/sikuli.git
More information about the pkg-java-commits
mailing list