Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
python3-dmapi / usr / lib / python3.6 / site-packages / dmapi / __pycache__ / service_auth.cpython-36.opt-1.pyc
Size: Mime:
3

ÿn‚aã@sVddlmZddlmZddlmZddlZej	j
Z
ejeƒZ
dadd„Zdd„ZdS)	é)Úloading)Ú
service_token)ÚlogNcCsdadS)z For async unit test consistency.N)Ú
_SERVICE_AUTH©rrú"/usr/lib/python3.6/service_auth.pyÚ
reset_globalssrcCsP|jƒ}tjjrLts>tjttjj	j
datdkr>tjdƒ|St	j
|tdS|S)N)ÚgroupzQUnable to load auth from [service_user] configuration. Ensure "auth_type" is set.)Ú	user_authZservice_auth)Úget_auth_pluginÚCONFZservice_userZsend_service_user_tokenrÚ
ks_loadingZload_auth_from_conf_optionsÚdmapiÚconfrZSERVICE_USER_GROUPÚLOGZwarningZServiceTokenAuthWrapper)Úcontextr
rrrrs
r)Z
keystoneauth1rr
rZoslo_logrZloggingZ
dmapi.confrrrZ	getLoggerÚ__name__rrrrrrrrÚ<module>s