From 4aaaabb306e869e814d36737d1123f77045ba02c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 19 Jun 2016 00:15:04 +0300 Subject: factor things out of vk.user --- vk/tracking/db/record.py | 3 ++- vk/tracking/status_tracker.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'vk/tracking') 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 -- cgit v1.2.3