#1471 - change DeprecationWarning to FutureWarning

This commit is contained in:
Dave Lassalle
2025-03-12 15:51:42 -05:00
parent 474e8e6916
commit 3a6063f270
5 changed files with 5 additions and 9 deletions
@@ -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"
)
)