mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
Use 'is None' instead of '== None'
Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
parent
820525fe8d
commit
1d403eb18a
2 changed files with 2 additions and 2 deletions
|
|
@ -133,7 +133,7 @@ def ftype_find_in_image(opts, ft, fid, img):
|
|||
if f:
|
||||
return f[ft['field']]
|
||||
|
||||
if ft['img'] == None:
|
||||
if ft['img'] is None:
|
||||
ft['img'] = pycriu.images.load(dinf(opts, img))['entries']
|
||||
for f in ft['img']:
|
||||
if f['id'] == fid:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue