Bug 1560956 - RaptorLogger class should not inherit from ProxyLogger r=perftest-reviewers,sparky

RaptorLogger class is using object composition to create its logger field.
Because the inheritance is not used to achieve that, there is no need to extend ProxyLogger class.

Differential Revision: https://phabricator.services.mozilla.com/D35661

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Marian Raiciof 2019-06-26 21:18:16 +00:00
Родитель d998039c21
Коммит 1c86c4412d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -9,7 +9,7 @@ from __future__ import absolute_import
from mozlog.proxy import ProxyLogger
class RaptorLogger(ProxyLogger):
class RaptorLogger():
def __init__(self, component=None):
self.logger = ProxyLogger(component)