Add loop as a parameter in DumpMaster (#5790)

* Add loop as a parameter in DumpMaster

* [autofix.ci] apply automated fixes

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Sabin Dcoster 2022-12-03 22:18:36 +05:45 committed by GitHub
parent 689ca0c1b5
commit bbb5080e98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -12,10 +12,11 @@ class DumpMaster(master.Master):
def __init__(
self,
options: options.Options,
loop=None,
with_termlog=True,
with_dumper=True,
) -> None:
super().__init__(options)
super().__init__(options, event_loop=loop)
if with_termlog:
self.addons.add(termlog.TermLog())
self.addons.add(*addons.default_addons())