|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21573/root/usr/lib/python2.4/site-packages/dogtail/ |
Upload File : |
mō
83Dc @ s# d Z d Z d f d YZ d S( s-
Author: David Malcolm <dmalcolm@redhat.com>
s# David Malcolm <dmalcolm@redhat.com>t
SearchPathc B sh t Z d Z d Z d Z d Z d Z d Z d Z d Z d Z
d Z d
Z RS( s
Class used by the recording framework (and for more verbose script
logging) for identifying nodes in a persistent way, independent of the
style of script being written.
Implemented as a list of (predicate, isRecursive) pairs, giving the
'best' way to find the Accessible wrapped by a Node, starting at the
root and applying each search in turn.
This is somewhat analagous to an absolute path in a filesystem, except
that some of searches may be recursive, rather than just searching
direct children.
FIXME: try to ensure uniqueness
FIXME: need some heuristics to get 'good' searches, whatever
that means
c C s
g | _ d S( N( t selft _SearchPath__list( R ( ( t0 /usr/lib/python2.4/site-packages/dogtail/path.pyt __init__ s c C sB d } x1 | i D]&