Browse files

Use **kw even when pulling in the validated widget.

  • Loading branch information...
ralphbean committed Jun 25, 2012
1 parent be8f394 commit f78492be9406335cead45da79e429ffbf48efdce
Showing with 2 additions and 1 deletion.
  1. +2 −1 tw2/core/
@@ -147,8 +147,9 @@ def req(cls, **kw):
vw = None
if vw:
# TODO -- **kw is ignored here. Is that okay?
ins = vw
for key, value in kw.items():
setattr(ins, key, value)
if ins is None:
# We weren't the validated widget (or there wasn't one), so

0 comments on commit f78492b

Please sign in to comment.