setup.py: close file not a string

This commit is contained in:
Jérôme Schneider 2013-08-13 17:19:36 +02:00
parent 4f18903bdb
commit 4564b8d3a2
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ def get_version():
if os.path.exists('VERSION'):
version_file = open('VERSION', 'r')
version = version_file.read()
version.close()
version_file.close()
return version
for d in glob.glob('*'):
if not os.path.isdir(d):