asn1rt: add OID table into GLOBAL
This commit is contained in:
parent
8d78837c8d
commit
58bf92ae5f
|
@ -60,9 +60,13 @@ def make_GLOBAL(global_name=None):
|
|||
# dict indexed by modules' name and containing modules' objects
|
||||
MOD = ASN1Dict()
|
||||
|
||||
# OID lookup table (OID value: OID name)
|
||||
OID = {}
|
||||
|
||||
@classmethod
|
||||
def clear(cla):
|
||||
cla.MOD.clear()
|
||||
cla.OID.clear()
|
||||
|
||||
if isinstance(global_name, str):
|
||||
GLOBAL.__name__ = glob_name
|
||||
|
|
Loading…
Reference in New Issue