Hi,
2012/12/3 Joe Hillenbrand <[email protected]>
> exceptions.TypeError: spider_opened() got 2 unexpected keyword
> arguments
Could you modify a bit this spider_opened function, so that it accepts a
**kwargs?
Something like (not tested!):
def spider_opened(self, spider, **kwargs):
if kwargs:
raise TypeError("unexpected keywords", kwargs)
...
--
Amaury Forgeot d'Arc
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev