mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-15 17:14:21 +00:00
fix(spm): silence warning in sp_mk_generator
Silence warning from sp_mk_generator that 'is not' operator is not meant for integers. This replaces the referred instance with '!='. Signed-off-by: J-Alves <joao.alves@arm.com> Change-Id: I0d31ad65466dbeafebbfc929e506c3e290913aca
This commit is contained in:
parent
23d6774ab5
commit
6a3225e227
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ def get_load_address(sp_layout, sp, args :dict):
|
|||
with open(get_sp_manifest_full_path(sp_layout[sp], args), "r") as pm_f:
|
||||
load_address_lines = [l for l in pm_f if 'load-address' in l]
|
||||
|
||||
if len(load_address_lines) is not 1:
|
||||
if len(load_address_lines) != 1:
|
||||
return None
|
||||
|
||||
load_address_parsed = re.search("(0x[0-9a-f]+)", load_address_lines[0])
|
||||
|
|
Loading…
Add table
Reference in a new issue