# HG changeset patch # User Jeff Hammel # Date 1307595350 25200 # Node ID 03e03668f546a6a0a0e832dd3ba3b9d476d6af1c # Parent 2384ab3999b7fe7b11dd5317ce3d4cc9bc14740d start recursively fetching the wrapper; tests fail diff -r 2384ab3999b7 -r 03e03668f546 pyloader/factory.py --- a/pyloader/factory.py Wed Jun 08 21:19:22 2011 -0700 +++ b/pyloader/factory.py Wed Jun 08 21:55:50 2011 -0700 @@ -126,8 +126,13 @@ wrapper, _path = path.split(':', 1) # TODO: could interpolate wrapper if wrapper in names: - wrapper_section = names[wrapper] - + if wrapper not in config: + wrapper_section = names[wrapper] + if wrapper_section in seen: + pass # TODO + create_section(wrapper_section, iniconfig[wrapper_section]) + wrapper_options = config[wrapper_section] + # TODO interpolate wrapper_options path = _path # make a dict for the section