diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-03-04 22:30:32 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-03-04 22:30:32 +0200 |
| commit | eb3cee262ef52480198fc7f506debe0f35e3554a (patch) | |
| tree | 85080b62071ae2538eb6258afe8a173de4e61ff9 /docs/tutorials/wiki/src/basiclayout | |
| parent | 4e684644d2df8040a71dd018bbcbed6d43897db7 (diff) | |
| download | pyramid-eb3cee262ef52480198fc7f506debe0f35e3554a.tar.gz pyramid-eb3cee262ef52480198fc7f506debe0f35e3554a.tar.bz2 pyramid-eb3cee262ef52480198fc7f506debe0f35e3554a.zip | |
fix #311
Diffstat (limited to 'docs/tutorials/wiki/src/basiclayout')
| -rw-r--r-- | docs/tutorials/wiki/src/basiclayout/setup.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/tutorials/wiki/src/basiclayout/setup.py b/docs/tutorials/wiki/src/basiclayout/setup.py index 4998be902..75ba02611 100644 --- a/docs/tutorials/wiki/src/basiclayout/setup.py +++ b/docs/tutorials/wiki/src/basiclayout/setup.py @@ -3,8 +3,10 @@ import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) -README = open(os.path.join(here, 'README.txt')).read() -CHANGES = open(os.path.join(here, 'CHANGES.txt')).read() +with open(os.path.join(here, 'README.txt')) as f: + README = f.read() +with open(os.path.join(here, 'CHANGES.txt')) as f: + CHANGES = f.read() requires = [ 'pyramid', |
