Skip to content

Commit

Permalink
[#133] extra logging added
Browse files Browse the repository at this point in the history
  • Loading branch information
ablatov committed Sep 13, 2018
1 parent 28796f4 commit 1fb5b89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions legion_test/legion_test/profiler_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ def get_variables(arg=None):
data['jenkins_password'] = lines[1]
data['cookies'] = lines[2]
print('Loaded cookies :{},'
'\nJenkins creds: {}, {}'
.format(data['cookies'], data['jenkins_user'], data['jenkins_password']))
'\nJenkins creds: {}, {}'.format(data['cookies'], data['jenkins_user'], data['jenkins_password']))
except IOError:
pass

Expand Down
4 changes: 3 additions & 1 deletion legion_test/legion_test/robot/dex_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ def init_session_id_from_data(data: dict):
cookies = data['cookies'].split(';')
for cookie in cookies:
_session_cookies[cookie.split('=')[0]] = cookie.split('=')[1]
_jenkins_credentials = (data['jenkins_user'], data['jenkins_password'])
_jenkins_credentials = (data['jenkins_user'].rstrip(), data['jenkins_password'].rstrip())
print('Cookies:{}'.format(_session_cookies))
print('Jenkins_creds:{}'.format(_jenkins_credentials))


def init_session_id(login: str, password: str, cluster_host: str) -> None:
Expand Down

0 comments on commit 1fb5b89

Please sign in to comment.