Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Menu
Projects
Groups
Snippets
Get a free trial
Sign up
Login
Sign in / Register
Toggle navigation
Menu
Open sidebar
cki-project
cki-lib
Commits
2c30e9b3
Commit
2c30e9b3
authored
Jan 17, 2022
by
Michael Hofmann
Browse files
Merge: Fix pypy errors
Signed-off-by:
Michael Hofmann
<
mhofmann@redhat.com
>
See merge request
!357
parents
8e38f972
7b5df19c
Pipeline
#449556746
passed with stage
in 3 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cki_lib/session.py
View file @
2c30e9b3
...
...
@@ -41,7 +41,7 @@ def get_session(user_agent: str,
response
.
raise_for_status
()
session
.
hooks
[
'response'
].
append
(
do_raising
)
default_retry_args
=
{
'total'
:
5
,
'backoff_factor'
:
1
}
default_retry_args
:
typing
.
Dict
[
str
,
typing
.
Any
]
=
{
'total'
:
5
,
'backoff_factor'
:
1
}
default_retry_args
.
update
(
retry_args
or
{})
retry
=
Retry
(
**
default_retry_args
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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