Skip to content

Commit 98c0094

Browse files
committed
Updated unpacked variable names
1 parent d19013c commit 98c0094

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

volatility3/framework/plugins/windows/psxview.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def _translate_offset(self, offset):
9292
layer_name = kernel.layer_name
9393

9494
try:
95-
_, _, offset, _, _ = list(
95+
_original_offset, _original_length, offset, _length, _layer_name = list(
9696
self.context.layers[layer_name].mapping(offset=offset, length=0)
9797
)[0]
9898
except exceptions.PagedInvalidAddressException:
@@ -190,15 +190,15 @@ def _generator(self):
190190
# print results
191191

192192
# list of lists of offsets
193-
todo_offsets = [list(processes[source].keys()) for source in processes]
193+
offsets = [list(processes[source].keys()) for source in processes]
194194

195195
# flatten to one list
196-
todo_offsets = sum(todo_offsets, [])
196+
offsets = sum(offsets, [])
197197

198198
# remove duplicates
199-
todo_offsets = set(todo_offsets)
199+
offsets = set(offsets)
200200

201-
for offset in todo_offsets:
201+
for offset in offsets:
202202
proc = None
203203

204204
in_sources = {src: False for src in processes}

0 commit comments

Comments
 (0)