Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit 9afd8fd

Browse files
committed
KIT-1010 refactoring
1 parent 40c07a3 commit 9afd8fd

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
#
1919
import os
2020
import sys
21+
22+
import setup
23+
2124
sys.path.insert(0, os.path.abspath('..'))
2225

2326
import logstash_async
@@ -56,7 +59,7 @@
5659
# built documents.
5760
#
5861
# The short X.Y version.
59-
version = logstash_async.__version__
62+
version = setup.VERSION
6063
# The full version, including alpha/beta/rc tags.
6164
release = version
6265

logstash_async/__init__.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +0,0 @@
1-
# -*- coding: utf-8 -*-
2-
#
3-
# This software may be modified and distributed under the terms
4-
# of the MIT license. See the LICENSE file for details.
5-
6-
__version__ = '2.3.3'
7-
8-
# When using an in-memory only cache, this persists the cache through
9-
# thread failures, shutdowns, and restarts.
10-
EVENT_CACHE = {}

logstash_async/handler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from logstash_async.formatter import LogstashFormatter
1010
from logstash_async.utils import safe_log_via_print
1111
from logstash_async.worker import LogProcessingWorker
12-
import logstash_async
1312
from .transport import HttpTransport
1413

1514

0 commit comments

Comments
 (0)