Add relative imports, small bugfixes

This commit is contained in:
Thales Lima
2024-07-17 23:27:36 +02:00
committed by tvinagre
parent c075fdb668
commit 5e6c7d4647
21 changed files with 651 additions and 111 deletions

View File

@@ -7,7 +7,9 @@ import os
import psycopg2
from psycopg2 import sql
binary_path = "./testing/tycho-indexer"
from pathlib import Path
binary_path = Path(__file__).parent / "tycho-indexer"
class TychoRunner:
@@ -48,7 +50,7 @@ class TychoRunner:
bufsize=1,
env=env,
)
with process.stdout:
for line in iter(process.stdout.readline, ""):
if line and self.with_binary_logs: