criu/lib/py
Pavel Tikhomirov 2ebb1c7419 crit: fix error on memfd files parsing
Else we get error:

[root@fedora criu]# crit/crit x test/dump/zdtm/static/memfd00/56/1/ mems
...
Traceback (most recent call last):
  File "/home/snorch/devel/ms/criu/crit/crit", line 6, in <module>
    cli.main()
  File "/home/snorch/devel/ms/criu/crit/pycriu/cli.py", line 430, in main
    opts["func"](opts)
  File "/home/snorch/devel/ms/criu/crit/pycriu/cli.py", line 361, in explore
    explorers[opts['what']](opts)
  File "/home/snorch/devel/ms/criu/crit/pycriu/cli.py", line 283, in explore_mems
    fn = ' ' + get_file_str(opts, {
  File "/home/snorch/devel/ms/criu/crit/pycriu/cli.py", line 214, in get_file_str
    f = ft['get'](opts, ft, fd['id'])
  File "/home/snorch/devel/ms/criu/crit/pycriu/cli.py", line 165, in ftype_reg
    rf = ftype_find_in_image(opts, ft, fid, 'reg-files.img')
  File "/home/snorch/devel/ms/criu/crit/pycriu/cli.py", line 154, in ftype_find_in_image
    return f[ft['field']]
KeyError: 'reg'

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
2021-09-03 10:31:00 -07:00
..
images pycrit: fix the broken of cli the crit show xxx.img 2021-09-03 10:31:00 -07:00
.gitignore python lib: rename rpc.py to rpc_pb2.py 2016-10-10 12:49:28 +03:00
__init__.py crit: make crit python2/python3 compatible 2018-07-09 18:25:16 +03:00
cli.py crit: fix error on memfd files parsing 2021-09-03 10:31:00 -07:00
criu.py py: Fix tabs in code comments 2019-09-07 15:59:57 +03:00
Makefile build: Reused .FORCE from nmk 2017-11-23 20:23:14 +03:00