# HG changeset patch
# User Jeff Hammel <jhammel@mozilla.com>
# Date 1307667796 25200
# Node ID 2261cf505daf9637d3097105033b6754d05c0908
# Parent  7ec0ca0134ffa0351b364f507d1850dcc6504d12
interpolate "inline" wrapper arguments

diff -r 7ec0ca0134ff -r 2261cf505daf pyloader/cast.py
--- a/pyloader/cast.py	Thu Jun 09 17:57:12 2011 -0700
+++ b/pyloader/cast.py	Thu Jun 09 18:03:16 2011 -0700
@@ -29,7 +29,7 @@
   string = string.rstrip(separator)
   return [i.strip() for i in string.split(separator)]
 
-def str2args(string, separator=None):
+def str2args(string, separator=','):
   args = str2list(string, separator)
   _args = []
   kw = {}
diff -r 7ec0ca0134ff -r 2261cf505daf pyloader/factory.py
--- a/pyloader/factory.py	Thu Jun 09 17:57:12 2011 -0700
+++ b/pyloader/factory.py	Thu Jun 09 18:03:16 2011 -0700
@@ -140,7 +140,7 @@
                             # ,= : tokens to ensure these are wrapper options
                             # as these shouldn't be found in a real path (dotted path or file path)
 
-                            _wrapper_options = None # TODO
+                            _wrapper_args, _wrapper_kwargs = factory.str2args(_wrapper_options)
 
                     # TODO: will be correct for
                     # [foo:bar:%(here)s/objects.py:MyClass]