Skip to content

Commit

Permalink
Avoid ResourceWarnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Dec 25, 2014
1 parent a7f2331 commit 99ae393
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -24,7 +24,8 @@
from setuptools import setup, find_packages

def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
return f.read()

setup(name='zope.error',
version='4.1.2.dev0',
Expand Down

0 comments on commit 99ae393

Please sign in to comment.