IdIterator fix TypeError: _call() got multiple values for keyword argument 'max_id'.
authorAndrei Petre <p31andrei@gmail.com>
Mon, 9 Jun 2014 23:29:22 +0000 (02:29 +0300)
committerAndrei Petre <p31andrei@gmail.com>
Mon, 9 Jun 2014 23:29:22 +0000 (02:29 +0300)
commitd81f3776ab2a31840701fe22a9a78c15bdf47842
tree0a64705e0e070043f82b266536debccb85ccb9be
parent4c9c58f1839a0bf6230d07de375d59fa47bbb7e5
IdIterator fix TypeError: _call() got multiple values for keyword argument 'max_id'.

The problem is that max_id is passed in self.method as param but also
kept in kargs. Doing a kargs.pop with None as default value for 'max_id'
solves the problem as not keeping 'max_id' in two places anymore.
tweepy/cursor.py