From fbc8a9ce1284604a812dc2b87f84fce543f6d989 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 15 Apr 2018 00:15:50 +0100 Subject: [PATCH] Move the text renderer to cli directory. --- volatility/cli/__init__.py | 4 ++-- .../{framework/renderers/text.py => cli/text_renderer.py} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename volatility/{framework/renderers/text.py => cli/text_renderer.py} (100%) diff --git a/volatility/cli/__init__.py b/volatility/cli/__init__.py index d5e640cd6..69efb8062 100644 --- a/volatility/cli/__init__.py +++ b/volatility/cli/__init__.py @@ -22,7 +22,7 @@ import volatility.plugins from volatility import framework from volatility.framework import automagic, constants, contexts, interfaces from volatility.framework.configuration import requirements -from volatility.framework.renderers import text +from volatility.cli import text_renderer # Make sure we log everything @@ -211,7 +211,7 @@ class CommandLine(interfaces.plugins.FileConsumerInterface): constructed.set_file_consumer(self) # Construct and run the plugin - text.QuickTextRenderer().render(constructed.run()) + text_renderer.QuickTextRenderer().render(constructed.run()) def consume_file(self, filedata: interfaces.plugins.FileInterface): """Consumes a file as produced by a plugin""" diff --git a/volatility/framework/renderers/text.py b/volatility/cli/text_renderer.py similarity index 100% rename from volatility/framework/renderers/text.py rename to volatility/cli/text_renderer.py