This commit is contained in:
Jon Lundy 2020-06-11 21:32:30 -06:00
parent 99363f6b43
commit 4cb15e7c78
No known key found for this signature in database
GPG key ID: C63E6D61F3035024
3 changed files with 2 additions and 2 deletions

View file

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

View file

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

View file

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