Module Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore BinOpMod Str Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults vararg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For NameStore TupleLoad NameLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body Return ListLoad Assert CompareEq Call NameLoad NameLoad NameLoad BinOpMod Str Call NameLoad NameLoad Assert CompareEq Call NameLoad NameLoad NameLoad BinOpMod Str Call NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Return ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str For NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body Return ListLoad Assert CompareEq Call NameLoad NameLoad NameLoad BinOpMod Str Call NameLoad NameLoad Assert CompareEq Call NameLoad NameLoad NameLoad BinOpMod Str Call NameLoad NameLoad Assert CompareEq Call NameLoad NameLoad NameLoad BinOpMod Str Call NameLoad NameLoad Assign NameStore Dict Str Str BinOpMod Str TupleLoad NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Return ListLoad NameLoad NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Return NameLoad decorator_list decorator_list
N/A N/A urllib2 N/A base64 N/A logging N/A log N/A N/A logging getLogger __name__ PreemptiveBasicAuthHandler N/A N/A urllib2 BaseHandler N/A N/A 
    A BasicAuthHandler class that will add Basic Auth headers to a request
    even when there is no basic auth challenge from the server
    Jenkins does not challenge basic auth but expects it to be present
     __init__ N/A N/A self password_mgr N/A None N/A N/A N/A password_mgr None N/A N/A password_mgr N/A N/A urllib2 HTTPPasswordMgrWithDefaultRealm N/A N/A self passwd password_mgr N/A N/A self add_password N/A N/A self passwd add_password N/A http_request N/A N/A self req N/A N/A N/A uri N/A N/A req get_full_url N/A N/A user pw N/A N/A N/A self passwd find_user_password None uri N/A N/A N/A log debug N/A ADDING REQUEST HEADER for uri (%s): %s:%s N/A uri user pw N/A N/A pw None N/A N/A req N/A raw N/A %s:%s N/A user pw N/A auth N/A Basic %s N/A N/A N/A N/A base64 b64encode raw strip N/A N/A N/A req add_unredirected_header Authorization auth N/A req N/A N/A mkurlopener N/A N/A jenkinsuser jenkinspass jenkinsurl proxyhost proxyport proxyuser proxypass N/A N/A N/A 
     Creates an url opener that works with both jenkins auth and proxy auth
     If no values are provided for the jenkins or proxy vars, a regular opener is returned
    :param jenkinsuser: username for jenkins, str
    :param jenkinspass: password for jenkins, str
    :param jenkinsurl: jenkins url, str
    :param proxyhost: proxy hostname, str
    :param proxyport: proxy port, int
    :param proxyuser: proxy username, str
    :param proxypass: proxy password, str
    :return: urllib2.opener configured for auth
     N/A handlers N/A N/A handler N/A get_jenkins_auth_handler jenkinsuser jenkinsuser jenkinspass jenkinspass jenkinsurl jenkinsurl N/A N/A N/A N/A handlers append handler N/A handler N/A get_proxy_handler proxyhost proxyport proxyuser proxypass N/A N/A N/A N/A handlers append handler N/A opener N/A N/A urllib2 build_opener handlers N/A N/A opener open N/A mkopener N/A N/A N/A handlers N/A N/A opener N/A N/A urllib2 build_opener handlers N/A N/A opener open N/A get_jenkins_auth_handler N/A N/A jenkinsuser jenkinspass jenkinsurl N/A N/A N/A 
    Get a basic authentification handler for jenkins
    :param jenkinsuser: jenkins username, str
    :param jenkinspass: jenkins password, str
    :param jenkinsurl: jenkins base url, str
    :return: a list of handlers
     N/A param N/A jenkinsuser jenkinspass jenkinsurl N/A N/A N/A param None N/A N/A N/A N/A N/A N/A type jenkinsuser str N/A Jenkins username should be a string, got %s N/A repr jenkinsuser N/A N/A N/A type jenkinspass str N/A Jenkins password should be a string, git %s N/A repr jenkinspass N/A handler N/A PreemptiveBasicAuthHandler N/A N/A N/A handler add_password None jenkinsurl jenkinsuser jenkinspass N/A N/A N/A log debug N/A Adding BasicAuthHandler: url:%s, user:%s, N/A jenkinsurl jenkinsuser N/A N/A handler N/A get_proxy_handler N/A N/A proxyhost proxyport proxyuser proxypass N/A N/A N/A 
    Get a configured handler for a proxy

    :param proxyhost: proxy hostname, str
    :param proxyport: proxy port, int
    :param proxyuser: proxy username, str
    :param proxypass: proxy password, str
    :return: list of handlers
     N/A param N/A proxyhost proxyport proxyuser proxypass N/A N/A N/A param None N/A N/A N/A N/A N/A N/A type proxyport int N/A Proxy port should be an int, got %s N/A repr proxyport N/A N/A N/A type proxypass str N/A Proxy password should be a sting, got %s N/A repr proxypass N/A N/A N/A type proxyuser str N/A Proxy username should be a string, got %s N/A repr proxyuser N/A proxy_spec N/A http https N/A http://%s:%i/ N/A proxyhost proxyport N/A http://%s:%i/ N/A proxyhost proxyport N/A proxy_handler N/A N/A urllib2 ProxyHandler proxy_spec N/A proxy_auth_handler N/A N/A urllib2 HTTPBasicAuthHandler N/A N/A N/A proxy_auth_handler add_password None proxyhost proxyuser proxypass N/A N/A proxy_handler proxy_auth_handler N/A NoAuto302Handler N/A N/A urllib2 HTTPRedirectHandler N/A http_error_302 N/A N/A self req fp code msg hdrs N/A N/A N/A fp N/A N/A