Fixed awful print leftover

This commit is contained in:
Maximilien Rigaut 2022-06-15 18:14:48 +02:00
parent d0da774023
commit f43c8482a3
No known key found for this signature in database
GPG Key ID: 4F14B23709ADA5B1
2 changed files with 1 additions and 4 deletions

View File

@ -63,8 +63,6 @@ class BaseContainer:
:rtype : (syntax.SemanticType | BaseContainer)
:return: The optionals of the container
"""
print(f"{self.content}")
print(f'Getting optionals for {self.class_name()} <{id(self)}>{self.optionals}')
return self.optionals
def get_others(self):

View File

@ -5,7 +5,6 @@
# rsp = ExportResponse("start_string", "end_string")
# em = ExportManager(config_file, template_file)
# em(ExportRequest()) -> ExportResponse()
import rich
from io import StringIO
from bootstraparse.modules import config, pathresolver, error_mngr, context_mngr
@ -115,7 +114,6 @@ class ExportManager:
except KeyError:
log_entries = ["bootstrap", export_request.type, export_request.subtype]
log_ = tools.dict_check(self.templates, *log_entries)
print()
error_mngr.log_exception(
KeyError(
f'Template "bootstrap"/{export_request.type}/{export_request.subtype} could not be found.\n' +
@ -263,6 +261,7 @@ class ContextConverter:
if __name__ == '__main__': # pragma: no cover
import rich
from bootstraparse.modules import parser
io_string = StringIO(