Skip to content

Commit

Permalink
rm go_web_path
Browse files Browse the repository at this point in the history
  • Loading branch information
andylytical committed Jan 22, 2024
1 parent 8bad097 commit 80de944
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions cleanup/configure_jira.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,17 +135,6 @@ def get_atl_token():
assert_atl_token = get_atl_token


def go_web_path( path ):
''' Send an HTTPS get request to {server} at the given path.
'''
s = get_session()
url = f'https://{get_server()}{path}'
r = s.get( url )
logging.debug( f'RETURN CODE, GET, {path} .. {r}' )
r.raise_for_status()
return r


def go_sudo_path( path ):
''' attempt to access a secure/admin page
side effect: get's a valid atl_token that can be used for future calls
Expand Down

0 comments on commit 80de944

Please sign in to comment.