mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
py: Manual fixlets of code formatting
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
parent
c703e3fd84
commit
08f3b57ab3
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue