aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/vk/tracking/db/backend/log.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-01-28 03:11:23 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-01-28 03:11:23 +0300
commit7112abbe5dd8aebf44c097043f413a0542c05e5c (patch)
tree468bc272e40f6a960481290e2d16b84d08813f2b /vk/tracking/db/backend/log.py
parentvk: move file i/o to a separate module (diff)
downloadvk-scripts-7112abbe5dd8aebf44c097043f413a0542c05e5c.tar.gz
vk-scripts-7112abbe5dd8aebf44c097043f413a0542c05e5c.zip
add abstract classes for db readers/writers
Diffstat (limited to 'vk/tracking/db/backend/log.py')
-rw-r--r--vk/tracking/db/backend/log.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/vk/tracking/db/backend/log.py b/vk/tracking/db/backend/log.py
index f248d65..4ee5ff2 100644
--- a/vk/tracking/db/backend/log.py
+++ b/vk/tracking/db/backend/log.py
@@ -5,7 +5,9 @@
import logging
-class Writer:
+from .. import meta
+
+class Writer(meta.Writer):
def __init__(self, fd):
self._logger = logging.getLogger(__file__)
self._logger.setLevel(logging.INFO)