From ac71a48dc08ee6eef08961aedd2e9db7ee09aa8a Mon Sep 17 00:00:00 2001 From: davidoh Date: Mon, 1 Mar 2021 12:09:11 +0200 Subject: [PATCH] 0.9.3 release --- README.md | 4 ++++ drain3/drain.py | 2 +- setup.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e0d37ea..8ec8e81 100644 --- a/README.md +++ b/README.md @@ -201,6 +201,10 @@ Our project welcomes external contributions. Please refer to [CONTRIBUTING.md](C ## Change Log +##### v0.9.3 +* Fixed: comparison of type int with type str in function `add_seq_to_prefix_tree` #28 + (bug introduced at v0.9.1) + ##### v0.9.2 * Updated jsonpickle version * Keys `id_to_cluster` dict are now persisted by jsonpickle diff --git a/drain3/drain.py b/drain3/drain.py index 1d50de5..37958a3 100644 --- a/drain3/drain.py +++ b/drain3/drain.py @@ -25,7 +25,7 @@ def get_template(self): return ' '.join(self.log_template_tokens) def __str__(self): - return f"ID={str(self.cluster_id).ljust(5)} : size={str(self.size).ljust()}: {self.get_template()}" + return f"ID={str(self.cluster_id).ljust(5)} : size={str(self.size).ljust(10)}: {self.get_template()}" class Node: diff --git a/setup.py b/setup.py index 9488ebd..8895e3b 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name='drain3', packages=['drain3'], - version="0.9.2", + version="0.9.3", license='MIT', description="Persistent & streaming log template miner", long_description=long_description,