Part of lp.bugs.scripts.bugexpire View In Hierarchy
The BugTask must be unassigned, and the project it is associated with must use Malone for bug tracking.
|Method||__init__||Create a new BugJanitor.|
|Method||expireBugTasks||Expire old, unassigned, Incomplete BugTasks.|
|Method||_login||Setup an interaction as the bug janitor.|
|Method||_logout||End the bug janitor interaction.|
|Unknown Field: days_before_expiration||Days of inactivity before a question is expired. Defaults to config.malone.days_before_expiration.|
|Unknown Field: log||A logger instance to use for logging. Defaults to the default logger.|
|Unknown Field: target||The target for expiring bugs.|
|Unknown Field: limit||Expire no more than limit bugtasks.|
Only BugTasks for projects that use Malone are updated. This method will login as the bug_watch_updater celebrity and logout after the expiration is done.
The role of bug janitor is usually played by bug_watch_updater.