Skip to content

Commit

Permalink
Fixes a bad rename done a few days ago [fix]
Browse files Browse the repository at this point in the history
  • Loading branch information
hoijui committed Dec 11, 2024
1 parent 02468f8 commit b44285c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion krawl/fetcher/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def __init__(self, state_repository: FetcherStateRepository, config: Config) ->
retry = Retry(
total=config.retries,
backoff_factor=30,
status_force_list=self.RETRY_CODES,
status_forcelist=self.RETRY_CODES,
)

# client for GRAPHQL requests
Expand Down
2 changes: 1 addition & 1 deletion krawl/fetcher/oshwa.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def __init__(self, state_repository: FetcherStateRepository, config: Config) ->
retry = Retry(
total=config.retries,
backoff_factor=15,
status_force_list=self.RETRY_CODES,
status_forcelist=self.RETRY_CODES,
)

self._session = requests.Session()
Expand Down
2 changes: 1 addition & 1 deletion krawl/fetcher/thingiverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(self, state_repository: FetcherStateRepository, config: Config) ->
retry = Retry(
total=config.retries,
backoff_factor=15,
status_force_list=self.RETRY_CODES,
status_forcelist=self.RETRY_CODES,
)

self._session = requests.Session()
Expand Down

0 comments on commit b44285c

Please sign in to comment.