diff --git a/setup.py b/setup.py index 3cb9430..9a7a316 100644 --- a/setup.py +++ b/setup.py @@ -1,13 +1,8 @@ from setuptools import setup -f = open("README.rst") -try: - try: - readme_content = f.read() - except Exception: - readme_content = "" -finally: - f.close() +readme_content = '' +with open("README.rst") as f: + readme_content = f.read() setup( name='restea',