Module Expr Str ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias FunctionDef arguments args defaults body Return Num decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpDiv Call NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If NameLoad body If NameLoad body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Call NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword Num Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body ImportFrom alias ImportFrom alias Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad keyword Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore BinOpAdd AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareLtE NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body ImportFrom alias If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr orelse Print BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Import alias Print BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr If NameLoad body Return TupleLoad NameLoad Call NameLoad NameLoad orelse Return NameLoad If BoolOpAnd CompareIn Str NameLoad CompareIn Str NameLoad body If NameLoad body Return TupleLoad NameLoad NameLoad orelse Return NameLoad orelse Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Print NameLoad If NameLoad body Return TupleLoad NameLoad NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Import alias Import alias Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr Str body Return Assign NameStore BoolOpOr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Created on Apr 30, 2010

@author: jnaous
 django.db models N/A os N/A binascii django.conf settings datetime timedelta datetime N/A time expedient.common.utils.transport TestClientTransport urlparse urlparse django.contrib.auth.models User N/A xmlrpclib get_max_password_len N/A N/A N/A N/A N/A 40 N/A random_password N/A N/A N/A N/A N/A N/A N/A binascii b2a_hex N/A N/A os urandom N/A N/A get_max_password_len 2 N/A add_basic_auth N/A N/A uri username password N/A None None N/A N/A parsed N/A urlparse N/A N/A uri lower N/A username N/A N/A password N/A N/A new_url N/A %s://%s:%s@%s%s N/A N/A parsed scheme username password N/A parsed netloc N/A parsed path N/A N/A new_url N/A %s://%s@%s%s N/A N/A parsed scheme username N/A parsed netloc N/A parsed path N/A N/A new_url uri N/A new_url N/A BasicAuthServerProxy N/A N/A xmlrpclib ServerProxy N/A __init__ N/A N/A self uri username password N/A None None kwargs N/A N/A new_url N/A add_basic_auth uri username password N/A N/A N/A N/A xmlrpclib ServerProxy __init__ self N/A str new_url kwargs N/A __repr__ N/A N/A self N/A N/A N/A parsed N/A urlparse N/A self _ServerProxy__host N/A new_url N/A %s://%s%s N/A N/A parsed scheme N/A parsed netloc N/A parsed path N/A N/A <ServerProxy for %s%s> N/A new_url N/A self _ServerProxy__handler N/A N/A __str__ __repr__ N/A PasswordXMLRPCServerProxy N/A N/A models Model N/A N/A 
    Implements a server proxy for XML-RPC calls that checks SSL certs and
    uses a password to talk to the server. The password is automatically renewed
    whenever it expires.
     N/A username N/A N/A models CharField max_length 100 help_text Username to use to access the remote server. N/A password N/A N/A models CharField max_length N/A get_max_password_len help_text Password to use to access the remote server. N/A max_password_age N/A N/A models IntegerField Max Password age (days) default 60 N/A password_timestamp N/A N/A models DateTimeField auto_now_add True N/A url N/A N/A models CharField Server URL max_length 1024 N/A verify_certs N/A N/A models BooleanField Verify Certificates? default False _reset_proxy N/A N/A self N/A N/A N/A parsed N/A urlparse N/A N/A N/A self url lower N/A N/A self transport None N/A N/A N/A parsed scheme test N/A N/A N/A self proxy N/A BasicAuthServerProxy N/A N/A N/A N/A N/A self url lower replace test http username N/A self username password N/A self password transport N/A TestClientTransport N/A N/A N/A N/A parsed scheme https N/A M2Crypto.m2xmlrpclib SSL_Transport M2Crypto.SSL Context N/A N/A self transport N/A SSL_Transport N/A Context protocol tlsv1 N/A N/A self proxy N/A BasicAuthServerProxy N/A self url username N/A self username password N/A self password transport N/A self transport verbose N/A getattr settings DEBUG False N/A N/A N/A self set_verify_certs N/A N/A N/A self proxy N/A BasicAuthServerProxy N/A self url username N/A self username password N/A self password N/A _check_expiry N/A N/A self N/A N/A N/A N/A N/A self password_timestamp N/A self max_password_age N/A N/A max_age N/A timedelta days N/A self max_password_age N/A expiry_time N/A N/A self password_timestamp max_age N/A expiry_time N/A N/A time mktime N/A N/A expiry_time timetuple N/A now N/A N/A time time N/A N/A expiry_time now N/A N/A N/A N/A N/A self proxy change_password N/A random_password N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super PasswordXMLRPCServerProxy self __init__ args kwargs N/A N/A self url N/A N/A N/A N/A self _reset_proxy N/A N/A N/A self _check_expiry N/A save N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super PasswordXMLRPCServerProxy self save args kwargs N/A N/A self url N/A N/A N/A N/A self _reset_proxy N/A N/A N/A self set_verify_certs N/A set_verify_certs N/A N/A self N/A N/A N/A Enable/disable SSL certificate verification. N/A N/A self transport N/A M2Crypto SSL N/A N/A self verify_certs N/A N/A N/A N/A N/A N/A self transport ssl_ctx set_verify N/A N/A SSL verify_peer N/A SSL verify_fail_if_no_peer_cert 16 N/A N/A N/A N/A N/A self transport ssl_ctx load_verify_locations capath N/A settings XMLRPC_TRUSTED_CA_PATH N/A N/A N/A N/A N/A N/A self transport ssl_ctx set_verify N/A SSL verify_none 1 N/A change_password N/A N/A self password N/A None N/A N/A Change the remote password N/A password N/A password N/A random_password N/A N/A self password_timestamp N/A N/A datetime today N/A err N/A N/A N/A self __getattr__ change_password password N/A N/A err N/A N/A N/A self password password N/A N/A N/A self _reset_proxy N/A N/A N/A self save N/A N/A N/A Error changing password: %s err N/A err N/A ping N/A N/A self data N/A N/A N/A N/A N/A N/A self proxy ping data N/A is_available N/A N/A self get_info N/A False N/A N/A Call the server's ping method, and see if we get a pong N/A N/A N/A ret N/A N/A self ping PING N/A N/A N/A Exception N/A e N/A N/A traceback N/A N/A Exception while pinging server: %s e N/A N/A N/A traceback print_exc N/A get_info N/A N/A N/A False N/A str e N/A N/A False N/A N/A N/A PING ret N/A PONG ret N/A N/A get_info N/A N/A N/A True None N/A N/A True N/A N/A msg N/A Server at %s returned unexpected data %s N/A N/A self url ret N/A msg N/A get_info N/A N/A N/A False msg N/A N/A False N/A install_trusted_ca N/A N/A self N/A N/A N/A 
        Add the CA that signed the certificate for self.url as trusted.
         N/A ssl N/A subprocess N/A res N/A urlparse N/A self url N/A N/A N/A N/A N/A res scheme lower https N/A N/A N/A port N/A N/A res port 443 N/A cert N/A N/A ssl get_server_certificate N/A N/A res hostname port N/A N/A N/A N/A cert endswith 
-----END CERTIFICATE-----
 N/A N/A cert N/A N/A cert replace -----END CERTIFICATE----- 
-----END CERTIFICATE-----
 N/A N/A open N/A N/A N/A os path join N/A settings XMLRPC_TRUSTED_CA_PATH N/A N/A res hostname -ca.crt w cert_file N/A N/A N/A N/A cert_file write cert N/A N/A N/A subprocess Popen N/A make -C N/A settings XMLRPC_TRUSTED_CA_PATH stdin N/A subprocess PIPE stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A