Skip to content

Commit

Permalink
remove unused return
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Nov 14, 2021
1 parent 6dba19f commit fedd99e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions poetry/publishing/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def _upload_file(
url: str,
file: Path,
dry_run: Optional[bool] = False,
) -> requests.Response:
) -> None:
from cleo.ui.progress_bar import ProgressBar

data = self.post_data(file)
Expand Down Expand Up @@ -283,7 +283,6 @@ def _upload_file(
raise UploadError(e)
finally:
self._io.write_line("")
return resp

def _register(self, session: requests.Session, url: str) -> requests.Response:
"""
Expand Down

0 comments on commit fedd99e

Please sign in to comment.