From a90dea29747aecde31e071c54e5a285bb9a3e796 Mon Sep 17 00:00:00 2001 From: Michael Kolupaev Date: Mon, 7 Jul 2014 15:51:11 +0400 Subject: [PATCH] a little better active_parts.py. [#METR-2807] --- dbms/src/Storages/tests/active_parts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbms/src/Storages/tests/active_parts.py b/dbms/src/Storages/tests/active_parts.py index dd9bd848b14..24fb4a5c7e4 100644 --- a/dbms/src/Storages/tests/active_parts.py +++ b/dbms/src/Storages/tests/active_parts.py @@ -30,6 +30,8 @@ for m in parts: if x1 >= x2 and y1 <= y2 and l1 < l2 and (x1, y1) != (x2, y2): # 2 contains 1 pass elif x1 > y2: # 1 is to the right of 2 + if x1 != y2 + 1: + print # чтобы на глаз было видно пропущенные номера (x2, y2, l2, s2) = (x1, y1, l1, s1) print s1 else: