[CRIU] [PATCH] zdtm.py: used tabs for indentation

Andrei Vagin avagin at openvz.org
Fri Aug 19 17:17:46 PDT 2016


From: Andrei Vagin <avagin at virtuozzo.com>

Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
---
 test/zdtm.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/zdtm.py b/test/zdtm.py
index b338a93..a34458d 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -959,10 +959,10 @@ def get_visible_state(test):
 
 			m.append(mp.split()[1])
 
-                        f = "/proc/%s/root/proc/%s/map_files/%s" % (test.getpid(), pid, mp.split()[0])
-                        if os.access(f, os.F_OK):
-                                st = os.lstat(f)
-                                m.append(oct(st.st_mode))
+			f = "/proc/%s/root/proc/%s/map_files/%s" % (test.getpid(), pid, mp.split()[0])
+			if os.access(f, os.F_OK):
+				st = os.lstat(f)
+				m.append(oct(st.st_mode))
 
 			if cmaps[last][1] == m[0] and cmaps[last][2] == m[2]:
 				cmaps[last][1] = m[1]
-- 
2.7.4



More information about the CRIU mailing list