Minor update

This commit is contained in:
Miroslav Stampar 2015-01-21 09:12:12 +01:00
parent 9f4a32ca2b
commit cd743ab098

View File

@ -1268,9 +1268,9 @@ def _setHTTPAuthentication():
debugMsg = "setting the HTTP(s) authentication PEM private key" debugMsg = "setting the HTTP(s) authentication PEM private key"
logger.debug(debugMsg) logger.debug(debugMsg)
key_file = os.path.expanduser(conf.authPrivate) _ = os.path.expanduser(conf.authPrivate)
checkFile(key_file) checkFile(_)
authHandler = HTTPSPKIAuthHandler(key_file) authHandler = HTTPSPKIAuthHandler(_)
def _setHTTPExtraHeaders(): def _setHTTPExtraHeaders():
if conf.headers: if conf.headers: