You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/vagrant/.virtualenvs/extit/local/lib/python2.7/site-packages/webassets/ext/jinja2.py", line 157, in _recurse_node
filter, output, files = node.args
ValueError: too many values to unpack
The issue is because node.args returns 4 values, the 3rd being a Const with value of None
(Pdb++) print node.args[2]
Const(value=None)
This patch fixes the issue in a backwards compatible way
The issue is because node.args returns 4 values, the 3rd being a
Const
with value ofNone
This patch fixes the issue in a backwards compatible way
Now that I think about it, it's somewhat fragile as it will probably fail in an unexpected way if
len(node.args) > 3
and so something likemight be better as it will fail sooner if node.args contains anything other than 3 or 4 values
The text was updated successfully, but these errors were encountered: