diff -r 2ebf22c65168 -r e9335ee3cf71 script/rest/search_twitter.py --- a/script/rest/search_twitter.py Wed Jul 27 18:32:56 2011 +0200 +++ b/script/rest/search_twitter.py Tue Aug 09 13:07:23 2011 +0200 @@ -49,12 +49,12 @@ page = 1 while page <= int(1500/int(options.rpp)) and ( results is None or len(results) > 0): - results = twitter. search(q=options.query, rpp=options.rpp, page=page) + results = twitter.search(q=options.query, rpp=options.rpp, page=page) for tweet in results["results"]: print tweet tweet_str = anyjson.serialize(tweet) #invalidate user id - processor = utils.TwitterProcessor(tweet, tweet_str, session, options.token_filename) + processor = utils.TwitterProcessor(tweet, tweet_str, None, session, options.token_filename) processor.process() session.flush() session.commit()