From adb90d14af3c6f0db5ce7e8ea37c6097d91c06f5 Mon Sep 17 00:00:00 2001 From: Shreya Date: Thu, 6 May 2021 16:16:20 +0530 Subject: [PATCH] Remove unused `_mode` in `infection_monkey/monkeyfs.py` --- monkey/infection_monkey/monkeyfs.py | 1 - 1 file changed, 1 deletion(-) diff --git a/monkey/infection_monkey/monkeyfs.py b/monkey/infection_monkey/monkeyfs.py index 31b2e6007..392717c35 100644 --- a/monkey/infection_monkey/monkeyfs.py +++ b/monkey/infection_monkey/monkeyfs.py @@ -15,7 +15,6 @@ class VirtualFile(BytesIO): if not name.startswith(MONKEYFS_PREFIX): name = MONKEYFS_PREFIX + name self.name = name - self._mode = mode if name in VirtualFile._vfs: super(VirtualFile, self).__init__(self._vfs[name]) else: