diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-01-26 22:33:34 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-01-26 22:33:34 +0300 |
commit | db723bbd4832c9901363586f08543e43ef7ffa4e (patch) | |
tree | 216079e25c13685b8cd0279d705ccca274771567 /vk/tracking/db/backend/log.py | |
parent | README update (diff) | |
download | vk-scripts-db723bbd4832c9901363586f08543e43ef7ffa4e.tar.gz vk-scripts-db723bbd4832c9901363586f08543e43ef7ffa4e.zip |
refactoring
Context managers everywhere!
Diffstat (limited to 'vk/tracking/db/backend/log.py')
-rw-r--r-- | vk/tracking/db/backend/log.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/vk/tracking/db/backend/log.py b/vk/tracking/db/backend/log.py index 6eebc35..f248d65 100644 --- a/vk/tracking/db/backend/log.py +++ b/vk/tracking/db/backend/log.py @@ -15,12 +15,6 @@ class Writer: datefmt='%Y-%m-%d %H:%M:%S')) self._logger.addHandler(handler) - def __enter__(self): - return self - - def __exit__(self, *args): - pass - def info(self, msg): self._logger.info(msg) |