mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-28 04:24:53 +02:00
#1471 - change DeprecationWarning to FutureWarning
This commit is contained in:
@@ -16,8 +16,6 @@ class Amcache(amcache.Amcache):
|
||||
|
||||
def __getattr__(self, *args, **kwargs):
|
||||
warnings.warn(
|
||||
DeprecationWarning(
|
||||
"This plugin is now called windows.registry.amcache.Amcache"
|
||||
)
|
||||
FutureWarning("This plugin is now called windows.registry.amcache.Amcache")
|
||||
)
|
||||
return super().__getattr__(*args, **kwargs)
|
||||
|
||||
@@ -16,7 +16,7 @@ class Cachedump(cachedump.Cachedump):
|
||||
|
||||
def __getattr__(self, *args, **kwargs):
|
||||
warnings.warn(
|
||||
DeprecationWarning(
|
||||
FutureWarning(
|
||||
"This plugin is now called windows.registry.cachedump.Cachedump"
|
||||
)
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ class Hashdump(hashdump.Hashdump):
|
||||
|
||||
def __getattr__(self, *args, **kwargs):
|
||||
warnings.warn(
|
||||
DeprecationWarning(
|
||||
FutureWarning(
|
||||
"This plugin is now called windows.registry.hashdump.Hashdump"
|
||||
)
|
||||
)
|
||||
|
||||
@@ -16,8 +16,6 @@ class Lsadump(lsadump.Lsadump):
|
||||
|
||||
def __getattr__(self, *args, **kwargs):
|
||||
warnings.warn(
|
||||
DeprecationWarning(
|
||||
"This plugin is now called windows.registry.lsadump.Lsadump"
|
||||
)
|
||||
FutureWarning("This plugin is now called windows.registry.lsadump.Lsadump")
|
||||
)
|
||||
return super().__getattr__(*args, **kwargs)
|
||||
|
||||
@@ -17,7 +17,7 @@ information about triggers, actions, run times, and creation times (deprecated).
|
||||
|
||||
def __getattr__(self, *args, **kwargs):
|
||||
warnings.warn(
|
||||
DeprecationWarning(
|
||||
FutureWarning(
|
||||
"This plugin is now called windows.registry.scheduled_tasks.ScheduledTasks"
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user