From d30daa5fd3b0e9d3be7e4087e8228c8cc9b15ba5 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 4 Dec 2017 21:34:11 +0000 Subject: [PATCH] Bump to version 3.6 to ensure support for all type hinding (including local variables). --- vol.py | 2 +- volatility/framework/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vol.py b/vol.py index f9973f046..1be3c5a19 100755 --- a/vol.py +++ b/vol.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 import volatility.cli diff --git a/volatility/framework/__init__.py b/volatility/framework/__init__.py index c3a56d774..eefb0d2d2 100644 --- a/volatility/framework/__init__.py +++ b/volatility/framework/__init__.py @@ -102,6 +102,6 @@ def import_files(base_module): # Check the python version to ensure it's suitable -required_python_version = (3, 4) +required_python_version = (3, 6) if sys.version_info.major != required_python_version[0] or sys.version_info.minor < required_python_version[1]: raise RuntimeError("Volatility framework requires python version {}.{} or greater".format(*required_python_version))