示例#1
1
文件: conf.py 项目: cav71/osc
 def retry_http_basic_auth(self, host, req, realm):
     # don't retry if auth failed
     if req.get_header(self.auth_header, None) is not None:
         return None
     return HTTPBasicAuthHandler.retry_http_basic_auth(self, host, req, realm)
示例#2
0
 def retry_http_basic_auth(self, host, req, realm):
     # don't retry if auth failed
     if req.get_header(self.auth_header, None) is not None:
         return None
     return HTTPBasicAuthHandler.retry_http_basic_auth(
         self, host, req, realm)