Mercurial > hg > pyloader
diff pyloader/factory.py @ 27:4b757f73e8ca
give IniFactory
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 06 Jun 2011 11:13:36 -0700 |
parents | e547679d4bfd |
children | 000e175169c2 |
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