Skip to content

Commit 52c1d19

Browse files
author
Italo Valcy
committed
fix unrelated linter issues
1 parent 0063be3 commit 52c1d19

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

honeypots/helper.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import psutil
2626
from OpenSSL import crypto
2727
from psutil import process_iter
28-
# from psycopg2 import connect as psycopg2_connect, sql
2928

3029

3130
def set_up_error_logging():
@@ -249,17 +248,6 @@ def __init__( # noqa: PLR0913
249248
self.logs = logs
250249
self.uuid = uuid
251250
self.custom_filter = custom_filter
252-
if config and "db_postgres_removed" in self.logs:
253-
parsed = urlparse(config["postgres"])
254-
# self.db["db_postgres"] = PostgresClass(
255-
# host=parsed.hostname,
256-
# port=parsed.port,
257-
# username=parsed.username,
258-
# password=parsed.password,
259-
# db=parsed.path[1:],
260-
# uuid=self.uuid,
261-
# drop=drop,
262-
####
263251
if config and "db_sqlite" in self.logs:
264252
self.db["db_sqlite"] = SqliteClass(
265253
file=config["sqlite_file"], drop=drop, uuid=self.uuid

0 commit comments

Comments
 (0)