Mercurial > hg > pyloader
changeset 27:4b757f73e8ca
give IniFactory
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 06 Jun 2011 11:13:36 -0700 |
parents | e547679d4bfd |
children | bd50a1317ec4 |
files | pyloader/factory.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pyloader/factory.py Mon Jun 06 10:54:33 2011 -0700 +++ b/pyloader/factory.py Mon Jun 06 11:13:36 2011 -0700 @@ -91,6 +91,7 @@ return value class IniFactory(PyFactory): + """load a python object from an .ini file""" def __init__(self, inifile, main=''): assert os.path.exists(inifile), "File not found: %s" % inifile