comparison pyloader/factory.py @ 71:2261cf505daf

interpolate "inline" wrapper arguments
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 09 Jun 2011 18:03:16 -0700
parents 7ec0ca0134ff
children 6f384c989a29
comparison
equal deleted inserted replaced
70:7ec0ca0134ff 71:2261cf505daf
138 _wrapper_options, __path = path.split(':', 1) 138 _wrapper_options, __path = path.split(':', 1)
139 if ',' in _wrapper_options or '=' in _wrapper_options: 139 if ',' in _wrapper_options or '=' in _wrapper_options:
140 # ,= : tokens to ensure these are wrapper options 140 # ,= : tokens to ensure these are wrapper options
141 # as these shouldn't be found in a real path (dotted path or file path) 141 # as these shouldn't be found in a real path (dotted path or file path)
142 142
143 _wrapper_options = None # TODO 143 _wrapper_args, _wrapper_kwargs = factory.str2args(_wrapper_options)
144 144
145 # TODO: will be correct for 145 # TODO: will be correct for
146 # [foo:bar:%(here)s/objects.py:MyClass] 146 # [foo:bar:%(here)s/objects.py:MyClass]
147 # but not for 147 # but not for
148 # [foo:bar:fleem] 148 # [foo:bar:fleem]