Upgrade Python syntax with pyupgrade --py3-plus

This commit is contained in:
Hugo
2020-07-11 16:09:19 +03:00
committed by Zac-HD
parent 6f315356be
commit 22ae7ff7af
11 changed files with 17 additions and 23 deletions

View File

@@ -21,7 +21,7 @@ class LoadFileScheduling(LoadScopeScheduling):
"""
def __init__(self, config, log=None):
super(LoadFileScheduling, self).__init__(config, log)
super().__init__(config, log)
if log is None:
self.log = Producer("loadfilesched")
else: