Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
2b92a33a
Commit
2b92a33a
authored
Nov 16, 2021
by
Bjorn Neergaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: clean up unused imports
parent
cbbd92ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/poetry/repositories/legacy_repository.py
+2
-2
No files found.
src/poetry/repositories/legacy_repository.py
View file @
2b92a33a
...
...
@@ -15,8 +15,8 @@ from typing import List
from
typing
import
Optional
from
urllib.parse
import
quote
import
requests
import
requests.auth
import
requests.exceptions
from
cachecontrol
import
CacheControl
from
cachecontrol.caches.file_cache
import
FileCache
...
...
@@ -418,7 +418,7 @@ class LegacyRepository(PyPiRepository):
if
response
.
status_code
==
404
:
return
None
response
.
raise_for_status
()
except
requests
.
HTTPError
as
e
:
except
requests
.
exceptions
.
HTTPError
as
e
:
raise
RepositoryError
(
e
)
if
response
.
url
!=
url
:
...
...
Write
Preview
Markdown
is supported
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