mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
Use 'is None' instead of '== None'
Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
committed by
Andrei Vagin
parent
820525fe8d
commit
1d403eb18a
@@ -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:
|
||||
|
Reference in New Issue
Block a user