From fadd565d0550b9d491abfb495545fced26dd047c Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 19 Jan 2015 11:02:31 +0000 Subject: [PATCH] Add in default values for options. --- volatility/framework/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/volatility/framework/config.py b/volatility/framework/config.py index cba237fc4..44bf6e3bf 100644 --- a/volatility/framework/config.py +++ b/volatility/framework/config.py @@ -10,10 +10,11 @@ from volatility.framework import validity class Option(validity.ValidityRoutines): """Class to handle a single specific configuration option""" - def __init__(self, name, option_type, definition = None, description = None): + def __init__(self, name, option_type, definition = None, description = None, default = None): """Creates a new option""" self._type_check(option_type, type) self._option_type = option_type + self._default = default self._name = name self._description = description self._definition = definition