mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-01 14:55:39 +00:00
py: Manual fixlets of code formatting
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
committed by
Andrei Vagin
parent
c703e3fd84
commit
08f3b57ab3
@@ -645,8 +645,7 @@ class coredump_generator:
|
|||||||
ppid = self.pstree[pid]["ppid"]
|
ppid = self.pstree[pid]["ppid"]
|
||||||
return self._get_page(ppid, page_no)
|
return self._get_page(ppid, page_no)
|
||||||
else:
|
else:
|
||||||
with open(self._imgs_dir + "/" + "pages-" + str(pages_id) +
|
with open(self._imgs_dir + "/pages-%s.img" % pages_id) as f:
|
||||||
".img") as f:
|
|
||||||
f.seek(off * PAGESIZE)
|
f.seek(off * PAGESIZE)
|
||||||
return f.read(PAGESIZE)
|
return f.read(PAGESIZE)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user