Package ganeti :: Package tools :: Module burnin :: Class SimpleOpener
[hide private]
[frames] | no frames]

Class SimpleOpener

source code


A simple url opener

Instance Methods [hide private]
 
prompt_user_passwd(self, host, realm, clear_cache=0)
No-interaction version of prompt_user_passwd.
source code
 
http_error_default(self, url, fp, errcode, errmsg, headers)
Custom error handling
source code

Inherited from urllib.FancyURLopener: __init__, get_user_passwd, http_error_301, http_error_302, http_error_303, http_error_307, http_error_401, http_error_407, redirect_internal, retry_http_basic_auth, retry_https_basic_auth, retry_proxy_http_basic_auth, retry_proxy_https_basic_auth

Inherited from urllib.URLopener: __del__, addheader, cleanup, close, http_error, open, open_data, open_file, open_ftp, open_http, open_https, open_local_file, open_unknown, open_unknown_proxy, retrieve

Class Variables [hide private]

Inherited from urllib.URLopener: version

Method Details [hide private]

prompt_user_passwd(self, host, realm, clear_cache=0)

source code 

No-interaction version of prompt_user_passwd.

Overrides: urllib.FancyURLopener.prompt_user_passwd

http_error_default(self, url, fp, errcode, errmsg, headers)

source code 

Custom error handling

Overrides: urllib.URLopener.http_error_default