Skip to content

Commit 8d2a302

Browse files
committed
fix: remove unused itertools import and redundant GuacSession re-import
Addresses ruff F401 (evtx.py) and F811 (database.py) flagged in PR review.
1 parent e2f88be commit 8d2a302

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

analyzer/windows/modules/auxiliary/evtx.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import itertools
21
import logging
32
import os
43
import subprocess

lib/cuckoo/core/database.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ def drop(self):
226226

227227
def create_guac_session(self, token, task_id, vm_label, guest_ip):
228228
"""Create a new guac session for a task."""
229-
from lib.cuckoo.core.data.guac_session import GuacSession
230229
session = self.session()
231230
try:
232231
guac = GuacSession(token=str(token), task_id=task_id, vm_label=vm_label, guest_ip=guest_ip)

0 commit comments

Comments
 (0)