From ddf29b3235e4bb82343a1432d11985c58455f368 Mon Sep 17 00:00:00 2001
From: "Antoine R. Dumont (@ardumont)" <antoine.romain.dumont@gmail.com>
Date: Wed, 19 Dec 2018 14:37:25 +0100
Subject: [PATCH] journal.client: Drop the redundant SWH prefix

---
 swh/journal/client.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/swh/journal/client.py b/swh/journal/client.py
index 28ced69..aed1f17 100644
--- a/swh/journal/client.py
+++ b/swh/journal/client.py
@@ -27,7 +27,7 @@ ACCEPTED_OBJECT_TYPES = [
 ]
 
 
-class SWHJournalClient(SWHConfig, metaclass=ABCMeta):
+class JournalClient(SWHConfig, metaclass=ABCMeta):
     """A base client for the Software Heritage journal.
 
     The current implementation of the journal uses Apache Kafka
@@ -73,7 +73,7 @@ class SWHJournalClient(SWHConfig, metaclass=ABCMeta):
         if extra_configuration:
             self.config.update(extra_configuration)
 
-        self.log = logging.getLogger('swh.journal.client.SWHJournalClient')
+        self.log = logging.getLogger('swh.journal.client.JournalClient')
 
         auto_offset_reset = self.config['auto_offset_reset']
         if auto_offset_reset not in ACCEPTED_OFFSET_RESET:
-- 
GitLab