Mercurial > hg > pyloader
comparison pyloader/factory.py @ 46:f7d1238d1bd1
stub using the names....we are only beginning
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 08 Jun 2011 18:15:09 -0700 |
parents | 7b145c3d2a16 |
children | 2384ab3999b7 |
comparison
equal
deleted
inserted
replaced
45:7b145c3d2a16 | 46:f7d1238d1bd1 |
---|---|
123 | 123 |
124 # interpret decorators | 124 # interpret decorators |
125 if ':' in path: | 125 if ':' in path: |
126 wrapper, _path = path.split(':', 1) | 126 wrapper, _path = path.split(':', 1) |
127 # TODO: could interpolate wrapper | 127 # TODO: could interpolate wrapper |
128 if wrapper in iniconfig: | 128 if wrapper in names: |
129 | 129 |
130 path = _path | 130 path = _path |
131 | 131 |
132 # make a dict for the section | 132 # make a dict for the section |
133 path = path % defaults | 133 path = path % defaults |