diff pyloader/cast.py @ 4:5ce55f6c8964

invokation works in the barest sense
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 10 May 2011 19:00:57 -0700
parents 6cb7696edc4d
children 886009132409
line wrap: on
line diff
--- a/pyloader/cast.py	Tue May 10 10:26:19 2011 -0700
+++ b/pyloader/cast.py	Tue May 10 19:00:57 2011 -0700
@@ -35,7 +35,10 @@
   kw = {}
   for arg in args:
     if '=' in arg:
-      pass
+      key, value = arg.split('=', 1)
+      key = key.strip()
+      value = value.strip()
+      kw[key] = value
     else:
       _args.append(arg)
   return _args, kw