Remove duplicate ReviewBot.do_project(). (#621)

This commit is contained in:
Jimmy Berry 2017-01-02 02:37:35 -06:00 committed by Stephan Kulow
parent 7431af4a72
commit 0ec78beb93

View File

@ -438,14 +438,6 @@ class CommandLineInterface(cmdln.Cmdln):
self.runner(work, opts.interval)
@cmdln.option('-n', '--interval', metavar="minutes", type="int", help="periodic interval in minutes")
def do_project(self, subcmd, opts, project, typename):
def work():
self.checker.set_request_ids_project(project, typename)
self.checker.check_requests()
self.runner(work, opts.interval)
def runner(self, workfunc, interval):
""" runs the specified callback every <interval> minutes or
once if interval is None or 0