Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
it-bott-integrasjoner
ubw-client
Commits
98ca2277
Commit
98ca2277
authored
Oct 31, 2022
by
Trond Aasan
Browse files
Merge branch 'use-logger-instead-of-print' into 'master'
Don't use print statements See merge request
!79
parents
b35ba1f3
6dce2768
Pipeline
#163486
passed with stage
in 2 minutes and 56 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tox.ini
View file @
98ca2277
...
...
@@ -30,6 +30,7 @@ deps =
pep8-naming
flake8-bugbear
flake8-typing-imports
flake8-print
# flake8-import-order
# flake8-docstrings
commands
=
...
...
ubw_client/client.py
View file @
98ca2277
...
...
@@ -374,7 +374,9 @@ class UBWClient:
)
if
config
.
alternate_endpoint
:
print
(
"Using alternative configured endpoint: "
+
config
.
alternate_endpoint
)
logger
.
debug
(
"Using alternative configured endpoint: %s"
,
config
.
alternate_endpoint
)
return
(
client
,
client
.
create_service
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment