Skip to content

Commit

Permalink
Remove superfluous else.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco authored Mar 22, 2021
1 parent 2cec54e commit e0655f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setuptools/build_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ def _file_with_extension(directory, extension):
raise ValueError(
'No distribution was found. Ensure that `setup.py` '
'is not empty and that it calls `setup()`.')
else:
return file
return file


def _open_setup_script(setup_script):
Expand Down

0 comments on commit e0655f6

Please sign in to comment.