Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions dfxml/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# Further explanation is on PEPs 484 and 563, via: https://stackoverflow.com/a/33533514
from __future__ import annotations

__version__ = "0.13.0"
__version__ = "0.13.1"

# Revision Log
# 2018-07-22 @simsong - removed calls to logging, since this module shouldn't create log files.
Expand Down Expand Up @@ -54,14 +54,14 @@
_logger = logging.getLogger(os.path.basename(__file__))

# Contains: (namespace, local name, class) qualified XML element name pairs, with a reference to the class that had the problem.
_warned_elements = set([])
_warned_byterun_attribs = set([])
_warned_elements: set[tuple[str, str, type[AbstractObject]]] = set()
_warned_byterun_attribs: set[str] = set()

# Contains: (hash name, class) pairs, indicating the hash type and on what class it was found.
_warned_hashes = set([])
_warned_hashes: set[tuple[str, type[AbstractObject]]] = set()

# Contains: Unexpected 'facet' values on byte_runs elements.
_warned_byterun_facets = set([])
_warned_byterun_facets: set[str] = set()

XMLNS_REGXML = "http://www.forensicswiki.org/wiki/RegXML"
XMLNS_DFXML_EXT = dfxml.XMLNS_DFXML + "#extensions"
Expand Down
Loading