Commit 32b94836 authored by Roberto DePietri's avatar Roberto DePietri
Browse files

Revert change to gracedb_sdk

parent 47109397
Pipeline #479277 passed with stages
in 9 minutes and 51 seconds
......@@ -9,18 +9,9 @@ import gracedb_sdk
from ..import app
from ..util import PromiseProxy
gracedb_username = app.conf.get('gracedb_username')
gracedb_password = app.conf.get('gracedb_password')
if type(gracedb_username) == str:
client = PromiseProxy(gracedb_sdk.Client,
('https://' + app.conf.gracedb_host + '/api/',),
{'fail_if_noauth': True, 'cert_reload': True,
'username': gracedb_username,
'password': gracedb_password})
else:
client = PromiseProxy(gracedb_sdk.Client,
('https://' + app.conf.gracedb_host + '/api/',),
{'fail_if_noauth': True, 'cert_reload': True})
client = PromiseProxy(gracedb_sdk.Client,
('https://' + app.conf.gracedb_host + '/api/',),
{'fail_if_noauth': True, 'cert_reload': True})
log = get_task_logger(__name__)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment