Skip to content

Commit bc75f50

Browse files
committed
Review of _get_long_description
1 parent 3b2a198 commit bc75f50

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,7 @@ def _get_long_description():
8282
This function return the long description.
8383
"""
8484

85-
try:
86-
return convert("README.md", "rst")
87-
88-
except (IOError, ImportError):
89-
return open("README.md", encoding="utf-8").read()
85+
return convert("README.md", "rst")
9086

9187

9288
setup(

0 commit comments

Comments
 (0)