From e022ec63b0f72ecd3d8fd9a81893f070f1cd102f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 19 Jun 2016 00:16:25 +0300 Subject: remove commented out code --- vk/tracking/online_streaks.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/vk/tracking/online_streaks.py b/vk/tracking/online_streaks.py index 5c9aa48..467a1d5 100644 --- a/vk/tracking/online_streaks.py +++ b/vk/tracking/online_streaks.py @@ -44,20 +44,15 @@ class OnlineStreakEnumerator(MutableMapping): def _cut_period(self, streak): user, time_from, time_to = streak - #print(user.get_first_name(), time_from, self._date_from) if self._date_from is not None: if time_to < self._date_from: - #print(1) return None if time_from < self._date_from: - #print(2) time_from = self._date_from if self._date_to is not None: if time_from > self._date_to: - #print(3) return None if time_to > self._date_to: - #print(4) time_to = self._date_to return user, time_from, time_to -- cgit v1.2.3