Skip to content

Commit

Permalink
Remove superfluous spaces in intermed.py
Browse files Browse the repository at this point in the history
  • Loading branch information
j-t-1 authored Dec 28, 2024
1 parent b1a42d9 commit 37873f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions volatility3/framework/symbols/intermed.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def __init__(
Args:
context: The volatility context for the symbol table
config_path: The configuration path for the symbol table
name: The name for the symbol table (this is used in symbols e.g. table!symbol )
name: The name for the symbol table (this is used in symbols e.g. table!symbol)
isf_url: The URL pointing to the ISF file location
native_types: The NativeSymbolTable that contains the native types for this symbol table
table_mapping: A dictionary linking names referenced in the file with symbol tables in the context
Expand All @@ -111,7 +111,7 @@ def __init__(
"""
# Check there are no obvious errors
# Open the file and test the version
self._versions = dict([(x.version, x) for x in class_subclasses(ISFormatTable)])
self._versions = dict((x.version, x) for x in class_subclasses(ISFormatTable))
with resources.ResourceAccessor().open(isf_url) as fp:
reader = codecs.getreader("utf-8")
json_object = json.load(reader(fp)) # type: ignore
Expand Down Expand Up @@ -166,9 +166,9 @@ def _closest_version(
format.
An interface version such as Major.Minor.Patch means that Major
of the provider must be equal to that of the consumer, and the
of the provider must be equal to that of the consumer, and the
provider (the JSON in this instance) must have a greater minor
(indicating that only additive changes have been made) than
(indicating that only additive changes have been made) than
the consumer (in this case, the file reader).
"""
major, minor, patch = (int(x) for x in version.split("."))
Expand Down

0 comments on commit 37873f9

Please sign in to comment.