Merge pull request #15 from svisser/patch-1
Ensure file handles are closed using with statement
This commit is contained in:
commit
ce99e6ccd2
9
setup.py
9
setup.py
|
@ -29,12 +29,17 @@ CLASSIFIERS = [
|
|||
'Topic :: Utilities',
|
||||
]
|
||||
|
||||
with open('README.rst') as file_readme:
|
||||
readme = file_readme.read()
|
||||
|
||||
with open('HISTORY.rst') as file_history:
|
||||
history = file_history.read()
|
||||
|
||||
settings.update(
|
||||
name='retrying',
|
||||
version='1.2.3-dev',
|
||||
description='Retrying',
|
||||
long_description=open('README.rst').read() + '\n\n' +
|
||||
open('HISTORY.rst').read(),
|
||||
long_description=readme + '\n\n' + history,
|
||||
author='Ray Holder',
|
||||
license='Apache 2.0',
|
||||
url='https://github.com/rholder/retrying',
|
||||
|
|
Loading…
Reference in New Issue