Skip to content

Commit ada5172

Browse files
authored
Merge pull request #51 from equinor/121864
Removed some log statements
2 parents 0514b40 + 9fd1c6b commit ada5172

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
'Programming Language :: Python :: 3.7'
1515
'Programming Language :: Python :: 3.8'
1616
],
17-
version='0.1.1',
17+
version='0.1.2',
1818
author='Equinor ASA',
1919
author_email='llag@equinor.com',
2020
install_requires=[
@@ -29,6 +29,6 @@
2929
include_package_data=True,
3030
zip_safe=False,
3131
entry_points={
32-
"console_scripts": ["sumologin = sumo.wrapper.login:main"]
32+
"console_scripts": ["sumo_login = sumo.wrapper.login:main"]
3333
}
3434
)

src/sumo/wrapper/_auth.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ def __init__(self, client_id, resource_id, authority=AUTHORITY_URI, client_crede
3131
print("Token cache found but have no accounts")
3232
self._oauth_device_code()
3333
else:
34-
print("Get token and maybe refresh")
3534
self._oauth_get_token_silent()
3635
else:
3736
print("No token cache found, reauthenticate")
@@ -40,7 +39,6 @@ def __init__(self, client_id, resource_id, authority=AUTHORITY_URI, client_crede
4039

4140
def get_token(self):
4241
if self.is_token_expired():
43-
print("Token expired, get new token")
4442
self._oauth_get_token_silent()
4543

4644
return self.result["access_token"]

0 commit comments

Comments
 (0)