From 512cc8b451645586afa0bd5151714bd45dd0433d Mon Sep 17 00:00:00 2001 From: Matt Tressler Date: Wed, 22 Jul 2020 10:10:02 -0400 Subject: [PATCH] fixed some formatting for tty_check.py --- volatility/framework/plugins/linux/tty_check.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility/framework/plugins/linux/tty_check.py b/volatility/framework/plugins/linux/tty_check.py index e93fd4aff..8fbf1ac12 100644 --- a/volatility/framework/plugins/linux/tty_check.py +++ b/volatility/framework/plugins/linux/tty_check.py @@ -9,7 +9,6 @@ from volatility.framework import interfaces, renderers, exceptions, constants, c from volatility.framework.automagic import linux from volatility.framework.configuration import requirements from volatility.framework.interfaces import plugins -from volatility.framework.layers import intel from volatility.framework.objects import utility from volatility.plugins.linux import lsmod from volatility.framework.renderers import format_hints @@ -47,7 +46,11 @@ class tty_check(plugins.PluginInterface): tty_drivers = None if not tty_drivers: - raise TypeError("This plugin requires the tty_drivers structure. This structure is not present in the supplied symbol table. This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt.") + raise TypeError( + "This plugin requires the tty_drivers structure." + "This structure is not present in the supplied symbol table." + "This means you are either analyzing an unsupported kernel version or that your symbol table is corrupt." + ) sym_cache = {}