Skip to content

Commit

Permalink
fix unrelated linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Italo Valcy committed Dec 30, 2024
1 parent 0063be3 commit 52c1d19
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions honeypots/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import psutil
from OpenSSL import crypto
from psutil import process_iter
# from psycopg2 import connect as psycopg2_connect, sql


def set_up_error_logging():
Expand Down Expand Up @@ -249,17 +248,6 @@ def __init__( # noqa: PLR0913
self.logs = logs
self.uuid = uuid
self.custom_filter = custom_filter
if config and "db_postgres_removed" in self.logs:
parsed = urlparse(config["postgres"])
# self.db["db_postgres"] = PostgresClass(
# host=parsed.hostname,
# port=parsed.port,
# username=parsed.username,
# password=parsed.password,
# db=parsed.path[1:],
# uuid=self.uuid,
# drop=drop,
####
if config and "db_sqlite" in self.logs:
self.db["db_sqlite"] = SqliteClass(
file=config["sqlite_file"], drop=drop, uuid=self.uuid
Expand Down

0 comments on commit 52c1d19

Please sign in to comment.