esim/saip: raise an exception properly

Change-Id: Ia3749c02120fdc16e556214d0461cbeca032447b
This commit is contained in:
Vadim Yanitskiy authored and Harald Welte committed 2026-03-20 14:32:59 -07:00
1 parent 99aef1fecf
commit 115b517c6a
1 file changed
+1 -1
+1 -1
View File
@@ -441,7 +441,7 @@ class File:
elif k == 'fillFileContent':
stream.write(v)
else:
return ValueError("Unknown key '%s' in tuple list" % k)
raise ValueError("Unknown key '%s' in tuple list" % k)
return stream.getvalue()
def file_content_to_tuples(self, optimize:bool = False) -> List[Tuple]: