kete: do_fetch: do not remember the worker
There is no stop() method attached to Fetcher, so we don't really need to remember we called it once to call a NOOP
This commit is contained in:
parent
5368e49f5d
commit
db2f37c561
|
@ -783,7 +783,10 @@ class TuhiKeteShell(cmd.Cmd):
|
|||
except SystemExit:
|
||||
return
|
||||
|
||||
self.start_worker(Fetcher, parsed_args)
|
||||
# we do not call start_worker() as we don't need to retain the
|
||||
# worker
|
||||
worker = Fetcher(self._manager, parsed_args)
|
||||
worker.run()
|
||||
|
||||
def help_search(self):
|
||||
self.do_search('-h')
|
||||
|
|
Loading…
Reference in New Issue