Skip to content

Commit 0063be3

Browse files
author
Italo Valcy
committed
fix unrelated linter issues
1 parent 49e8bd6 commit 0063be3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

honeypots/helper.py

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

3030

3131
def set_up_error_logging():
@@ -251,7 +251,7 @@ def __init__( # noqa: PLR0913
251251
self.custom_filter = custom_filter
252252
if config and "db_postgres_removed" in self.logs:
253253
parsed = urlparse(config["postgres"])
254-
#self.db["db_postgres"] = PostgresClass(
254+
# self.db["db_postgres"] = PostgresClass(
255255
# host=parsed.hostname,
256256
# port=parsed.port,
257257
# username=parsed.username,
@@ -303,6 +303,7 @@ def emit(self, record: LogRecord): # noqa: C901,PLR0912
303303
stdout.write(f"{json.dumps(log_entry, sort_keys=True, cls=ComplexEncoder)}\n")
304304
stdout.flush()
305305

306+
306307
class SqliteClass:
307308
def __init__(self, file=None, drop=False, uuid=None):
308309
self.file = file

0 commit comments

Comments
 (0)