<s> try : <EOL> from deliverance . pyref import PyReference <EOL> from deliverance import rules <EOL> from ajax import PyQuery as pq <EOL> except ImportError : <EOL> pass <EOL> else : <EOL> class PyQuery ( rules . AbstractAction ) : <EOL> """<STR_LIT>""" <EOL> name = '<STR_LIT>' <EOL> def __init__ ( self , source_location , pyref ) : <EOL> self . source_location = source_location <EOL> self . pyref = pyref <EOL> def apply ( self , content_doc , theme_doc , resource_fetcher , log ) : <EOL> self . pyref ( pq ( [ content_doc ] ) , pq ( [ theme_doc ] ) , resource_fetcher , log ) <EOL> @ classmethod <EOL> def from_xml ( cls , el , source_location ) : <EOL> """<STR_LIT>""" <EOL> pyref = PyReference . parse_xml ( <EOL> el , source_location = source_location , <EOL> default_function = '<STR_LIT>' ) <EOL> return cls ( source_location , pyref ) <EOL> rules . _actions [ '<STR_LIT>' ] = PyQuery <EOL> def deliverance_proxy ( ) : <EOL> import deliverance . proxycommand <EOL> deliverance . proxycommand . main ( ) </s>
