ArmPlatformPkg/Scripts/Ds5/cmd_load_symbols.py
Avoid deeply nested control flow statements. Open
Open
if regex.groups == 1:
regions.append((region_type,int(m.group(1),0),0))
else:
regions.append((region_type,int(m.group(1),0),int(m.group(2),0)))
else:
Avoid deeply nested control flow statements. Open
Open
if regex.groups == 1:
raise Exception('cmd_load_symbols', "Expect a base address")
else:
raise Exception('cmd_load_symbols', "Expect a region format as (base,size)")