diff options
author | nags <nags@nags-desktop.(none)> | 2009-07-12 17:38:47 -0700 |
---|---|---|
committer | nags <nags@nags-desktop.(none)> | 2009-07-12 17:38:47 -0700 |
commit | 5026bdee32538a88db2e1f4a61232efd4b8e5cf2 (patch) | |
tree | 694d3d597cc74c4424b7a504ca1fcddbb440edfe | |
parent | 26d0aff2c60abad5d41ae068aef8df9d11350f0e (diff) |
2009-07-12 Nagappan Alagappan <nagappan@gmail.com>
* ooldtp.py (component.hasstate): Fixes bug # 586655, typo
hasstate example with more one state separator '+' instead of ','.
-rw-r--r-- | python/ChangeLog | 3 | ||||
-rw-r--r-- | python/ooldtp.py | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/python/ChangeLog b/python/ChangeLog index 05b7a66..fc46652 100644 --- a/python/ChangeLog +++ b/python/ChangeLog @@ -1,5 +1,8 @@ 2009-07-12 Nagappan Alagappan <nagappan@gmail.com> + * ooldtp.py (component.hasstate): Fixes bug # 586655, typo + hasstate example with more one state separator '+' instead of ','. + * ldtp.py (hasstate): Fixes bug # 586655, typo hasstate example with more one state separator '+' instead of ','. diff --git a/python/ooldtp.py b/python/ooldtp.py index 176c18e..6019b14 100644 --- a/python/ooldtp.py +++ b/python/ooldtp.py @@ -76,8 +76,8 @@ class component: def guiexist (self): return ldtp.guiexist (self.__window) - def hasstate (self, name = '', checkState = state.INVALID): - return ldtp.hasstate (self.__window, self.getName (name), checkState) + def hasstate (self, name = '', *checkState): + return ldtp.hasstate (self.__window, self.getName (name), *checkState) def getobjectinfo (self, name = ''): return ldtp.getobjectinfo (self.__window, self.getName (name)) |