Hi,

2012/12/3 Joe Hillenbrand <joehil...@gmail.com>

>     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
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to