This commit is contained in:
Jon Lundy
2020-06-11 21:32:30 -06:00
parent 99363f6b43
commit 4cb15e7c78
3 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ class NetRecord:
@property
def object_type(self) -> str:
"""object type"""
return "inetnum" if V4_NET.network.supernet_of(self.network) \
return "inetnum" if V4_NET.supernet_of(self.network) \
else "inet6num"
@property

View File

@@ -71,6 +71,7 @@ class SchemaDOM:
@property
def links(self) -> Dict[str, List[str]]:
"return schema links"
return self._links
def parse(self, f: FileDOM):

View File

@@ -2,7 +2,6 @@
import inspect
import unittest
from pprint import pprint
from .schema import SchemaDOM
from .filedom import FileDOM