# HG changeset patch # User Jeff Hammel # Date 1307667950 25200 # Node ID 6f384c989a29b9f54e0b2e5ba7bc7bdc4b65cc7b # Parent 2261cf505daf9637d3097105033b6754d05c0908 modernize comment; this morning is SOOO out of date diff -r 2261cf505daf -r 6f384c989a29 pyloader/factory.py --- a/pyloader/factory.py Thu Jun 09 18:03:16 2011 -0700 +++ b/pyloader/factory.py Thu Jun 09 18:05:50 2011 -0700 @@ -139,18 +139,14 @@ if ',' in _wrapper_options or '=' in _wrapper_options: # ,= : tokens to ensure these are wrapper options # as these shouldn't be found in a real path (dotted path or file path) - _wrapper_args, _wrapper_kwargs = factory.str2args(_wrapper_options) - # TODO: will be correct for - # [foo:bar:%(here)s/objects.py:MyClass] - # but not for - # [foo:bar:fleem] - # in the latter case, just use fleem - # but check for cyclic consistency if _path in names: + # [foo:bar:fleem] wrapped_name = _path else: + # stub value for "anonymous" name + # [foo:bar:%(here)s/objects.py:MyClass] wrapped_name = section # get wrapper options