Skip to content
Snippets Groups Projects
Commit cd2971796cb9 authored by jfp's avatar jfp
Browse files

Fix usage of updated ovms.starlet routines

parent 844e1bd3c328
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@
print('---------', file=fo)
id = 0xFFFFFFFF # do a wildcard lookup
context = 0
context: int = 0
cont = True
while cont:
try:
......@@ -70,7 +70,7 @@
cont = True
while cont:
try:
s, idn, idv, ida, context = starlet.idtoasc(id, context)
s, idn, idv, ida, context = starlet.idtoasc(id, context) # type: ignore
if idv < 0x80000000:
continue
if idn in (
......@@ -86,7 +86,7 @@
if idn.split(b'$')[0] in (b'NET', b'SYS', b'SECSRV', b'VMS'):
continue
try:
s, holder, attrib = starlet.find_holder(idv)
s, holder, attrib, contxt = starlet.find_holder(idv)
except VMSError as e:
if e.errno != ssdef.SS__NOSUCHID:
raise e
......@@ -106,7 +106,6 @@
starlet.finish_rdb(context)
@level_rule(2)
def rule0703(fo, fmt):
"""Bad owner for system logical name table
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment