Skip to content
This repository was archived by the owner on Sep 28, 2020. It is now read-only.

Commit 64b4ea2

Browse files
committed
Simplified README file read.
1 parent f941ec2 commit 64b4ea2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

setup.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44

55

66
def get_long_description():
7-
description = []
8-
for file_name in ('README.rst',):
9-
with open(file_name) as f:
10-
description.append(f.read())
11-
return '\n\n'.join(description)
7+
with open('README.rst') as file:
8+
description = file.read()
9+
return description
1210

1311

1412
setup(

0 commit comments

Comments
 (0)