Simplifies code and improves error handling

Refactors code for clarity and conciseness by removing unused variables.

Improves error handling by logging only the necessary information,
making debugging easier.
This commit is contained in:
AlexKucera committed 2025-11-02 17:38:00 +01:00
1 parent b335a137d3
commit 6d7a41fc88
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@ class TestLineEndingFixes:
assert b'\r' in original_content # Has CR
# Parse the file (should trigger line ending fix)
parser = GedcomParser(sample_gedcom_cr_only)
_parser = GedcomParser(sample_gedcom_cr_only)
# Read the fixed content
fixed_content = sample_gedcom_cr_only.read_bytes()