mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +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"]
|
||||
return self._get_page(ppid, page_no)
|
||||
else:
|
||||
with open(self._imgs_dir + "/" + "pages-" + str(pages_id) +
|
||||
".img") as f:
|
||||
with open(self._imgs_dir + "/pages-%s.img" % pages_id) as f:
|
||||
f.seek(off * PAGESIZE)
|
||||
return f.read(PAGESIZE)
|
||||
|
||||
|
Reference in New Issue
Block a user