aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/vk
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-06-19 00:16:25 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-06-19 00:16:25 +0300
commite022ec63b0f72ecd3d8fd9a81893f070f1cd102f (patch)
tree222cb822d2a0503a3f466385be76f42c8bf79104 /vk
parentfactor things out of vk.user (diff)
downloadvk-scripts-e022ec63b0f72ecd3d8fd9a81893f070f1cd102f.tar.gz
vk-scripts-e022ec63b0f72ecd3d8fd9a81893f070f1cd102f.zip
remove commented out code
Diffstat (limited to 'vk')
-rw-r--r--vk/tracking/online_streaks.py5
1 files changed, 0 insertions, 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