mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-12 04:37:38 +02:00
Potential fix for code scanning alert no. 407: First argument to super() is not enclosing class
Think this is more correct Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
parent
bfc7e01d75
commit
70e101ff90
@@ -136,4 +136,4 @@ class PluginRenameClass:
|
||||
else:
|
||||
if not attr.startswith("__"):
|
||||
setattr(cls, attr, value)
|
||||
return super(replacement_class).__init_subclass__(**kwargs)
|
||||
return super(PluginRenameClass).__init_subclass__(**kwargs)
|
||||
|
||||
Reference in New Issue
Block a user