Skip to content

Commit

Permalink
Fix python parsing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoller committed Oct 23, 2008
1 parent fc61ca0 commit 27874a0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ACKS
@@ -1,2 +1,3 @@
Kumar McMillan <kumar.mcmillan@gmail.com>
Jesse Noller <jnoller@gmail.com> (That's me.)
Jesse Noller <jnoller@gmail.com> (That's me.)
Christopher Hesse <christopher.hesse@gmail.com>
3 changes: 3 additions & 0 deletions docs/index.txt
Expand Up @@ -179,6 +179,9 @@ argument on the command line.
Changes & News
--------------

0.5:
* Fix a bug in the python config file parsing reported by Christopher Hesse

0.4:
* Per feedback from Kumar and others, the eval()'ing of ini-file values
has been removed: allowing arbitrary python in the values was more
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -15,7 +15,7 @@

setup(
name='nose-testconfig',
version='0.4',
version='0.5',
author='Jesse Noller',
author_email = 'jnoller@gmail.com',
description = 'Test Configuration plugin for nosetests.',
Expand Down
2 changes: 1 addition & 1 deletion testconfig.py
Expand Up @@ -58,7 +58,7 @@ def load_python(py_file):
""" This will exec the defined python file into the config variable -
the implicit assumption is that the python is safe, well formed and will
not do anything bad. This is also dangerous. """
exec(open(py_file, 'r').read())
exec(open(py_file, 'r'))


class TestConfig(Plugin):
Expand Down

0 comments on commit 27874a0

Please sign in to comment.