changeset 47:2384ab3999b7

get wrapper section
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 08 Jun 2011 21:19:22 -0700
parents f7d1238d1bd1
children 03e03668f546
files pyloader/factory.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pyloader/factory.py	Wed Jun 08 18:15:09 2011 -0700
+++ b/pyloader/factory.py	Wed Jun 08 21:19:22 2011 -0700
@@ -124,8 +124,9 @@
             # interpret decorators
             if ':' in path:
                 wrapper, _path = path.split(':', 1)
-                # TODO: could interpolate wrapper
+                # TODO: could interpolate wrapper 
                 if wrapper in names:
+                    wrapper_section = names[wrapper]
                     
                     path = _path