Mercurial > hg > pyloader
changeset 45:7b145c3d2a16
finish hashing the names
| author | Jeff Hammel <jhammel@mozilla.com> | 
|---|---|
| date | Wed, 08 Jun 2011 18:14:07 -0700 | 
| parents | be4fbf390e36 | 
| children | f7d1238d1bd1 | 
| files | pyloader/factory.py | 
| diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] | 
line wrap: on
 line diff
--- a/pyloader/factory.py Wed Jun 08 18:13:17 2011 -0700 +++ b/pyloader/factory.py Wed Jun 08 18:14:07 2011 -0700 @@ -112,7 +112,9 @@ # sanity check assert ':' in section, "No : in section: %s" % section - + + name = section.split(':',1)[0] + names[name] = section def create_section(section, options):
