6890:26c1042f2eec | 6891:93f82da09f22 |
---|---|
276 @rtype Watch or None | 276 @rtype Watch or None |
277 """ | 277 """ |
278 for b in Watch.watches: | 278 for b in Watch.watches: |
279 if b.cond == cond: | 279 if b.cond == cond: |
280 return b | 280 return b |
281 | |
282 return None | |
281 | 283 |
282 @staticmethod | 284 @staticmethod |
283 def effectiveWatch(frame): | 285 def effectiveWatch(frame): |
284 """ | 286 """ |
285 Static method to determine, if a watch expression is effective. | 287 Static method to determine, if a watch expression is effective. |