From a2ebe3386f32314c6ce13a5803b0b8cbbc8f6d6d Mon Sep 17 00:00:00 2001 From: Shreya Date: Tue, 22 Jun 2021 19:57:56 +0530 Subject: [PATCH] agent: Rename utils/file_utils.py to utils/dir_utils.py --- monkey/infection_monkey/ransomware/utils.py | 2 +- monkey/infection_monkey/utils/{file_utils.py => dir_utils.py} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename monkey/infection_monkey/utils/{file_utils.py => dir_utils.py} (100%) diff --git a/monkey/infection_monkey/ransomware/utils.py b/monkey/infection_monkey/ransomware/utils.py index 50e49683c..8ad1279c7 100644 --- a/monkey/infection_monkey/ransomware/utils.py +++ b/monkey/infection_monkey/ransomware/utils.py @@ -2,7 +2,7 @@ import os from typing import List from infection_monkey.ransomware.valid_file_extensions import VALID_FILE_EXTENSIONS_FOR_ENCRYPTION -from infection_monkey.utils.file_utils import get_all_files_in_directory +from infection_monkey.utils.dir_utils import get_all_files_in_directory def get_files_to_encrypt(dir_path: str) -> List[str]: diff --git a/monkey/infection_monkey/utils/file_utils.py b/monkey/infection_monkey/utils/dir_utils.py similarity index 100% rename from monkey/infection_monkey/utils/file_utils.py rename to monkey/infection_monkey/utils/dir_utils.py