Right now there's a dependency cycle between ./crash/findit.py and ./crash/crash_pipeline.py thanks to ScheduleNewAnalysis (which is only called from ./handlers/crash/...). We should try to fix this if at all possible.
So one of the issues here, and why I organized things so that ScheduleNewAnalysis is a method of Findit, is that it calls a number of Findit methods (CheckPolicy, _NeedsNewAnalysis, client_id) and therefore already needs to take a Findit object as an argument. Thus, conceptually it makes sense for ScheduleNewAnalysis to also be a method on Findit.
Comment 1 by wrengr@chromium.org
, Oct 25 2016