changeset 53:e4a1d7eecd3b

maybe the wrapper works now; to write a test
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 08 Jun 2011 23:20:24 -0700
parents 9bd1a80e8e91
children f724db086125
files pyloader/factory.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pyloader/factory.py	Wed Jun 08 23:17:03 2011 -0700
+++ b/pyloader/factory.py	Wed Jun 08 23:20:24 2011 -0700
@@ -154,7 +154,10 @@
                         kwargs = wrapper_options['kwargs'].copy()
                         kwargs = dict([(i,interpolate(j)) for i, j in kwargs.items()])
                         wrapper_options['kwargs'] = kwargs
-                    
+
+                    # create wrapper
+                    config[name] = wrapper_options
+                    name = wrapped_name
                     path = _path
 
             # make a dict for the section