File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 25
25
import psutil
26
26
from OpenSSL import crypto
27
27
from psutil import process_iter
28
- # from psycopg2 import connect as psycopg2_connect, sql
29
28
30
29
31
30
def set_up_error_logging ():
@@ -249,17 +248,6 @@ def __init__( # noqa: PLR0913
249
248
self .logs = logs
250
249
self .uuid = uuid
251
250
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
- ####
263
251
if config and "db_sqlite" in self .logs :
264
252
self .db ["db_sqlite" ] = SqliteClass (
265
253
file = config ["sqlite_file" ], drop = drop , uuid = self .uuid
You can’t perform that action at this time.
0 commit comments