diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-19 00:15:04 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-19 00:15:04 +0300 |
commit | 4aaaabb306e869e814d36737d1123f77045ba02c (patch) | |
tree | fde74c82da27bbdaead5cf8f24c8f8e4d84a1be1 /vk/tracking | |
parent | vk.utils.tracking -> vk.tracking (diff) | |
download | vk-scripts-4aaaabb306e869e814d36737d1123f77045ba02c.tar.gz vk-scripts-4aaaabb306e869e814d36737d1123f77045ba02c.zip |
factor things out of vk.user
Diffstat (limited to 'vk/tracking')
-rw-r--r-- | vk/tracking/db/record.py | 3 | ||||
-rw-r--r-- | vk/tracking/status_tracker.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/vk/tracking/db/record.py b/vk/tracking/db/record.py index 93be97c..71dfde0 100644 --- a/vk/tracking/db/record.py +++ b/vk/tracking/db/record.py @@ -7,7 +7,8 @@ from collections.abc import MutableMapping from datetime import datetime from .timestamp import Timestamp -from vk.user import LastSeen, LastSeenField, User, UserField +from vk.last_seen import LastSeen, LastSeenField +from vk.user import User, UserField class Record(MutableMapping): FIELDS = ( diff --git a/vk/tracking/status_tracker.py b/vk/tracking/status_tracker.py index 3d1f032..8faea8e 100644 --- a/vk/tracking/status_tracker.py +++ b/vk/tracking/status_tracker.py @@ -2,7 +2,7 @@ # This file is licensed under the terms of the MIT License. # See LICENSE.txt for details. -from collections import Callable +from collections.abc import Callable import time import vk.error |