Fixed awful print leftover
This commit is contained in:
parent
2516e10cc1
commit
06085a1398
|
|
@ -63,8 +63,6 @@ class BaseContainer:
|
||||||
:rtype : (syntax.SemanticType | BaseContainer)
|
:rtype : (syntax.SemanticType | BaseContainer)
|
||||||
:return: The optionals of the container
|
: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
|
return self.optionals
|
||||||
|
|
||||||
def get_others(self):
|
def get_others(self):
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
# rsp = ExportResponse("start_string", "end_string")
|
# rsp = ExportResponse("start_string", "end_string")
|
||||||
# em = ExportManager(config_file, template_file)
|
# em = ExportManager(config_file, template_file)
|
||||||
# em(ExportRequest()) -> ExportResponse()
|
# em(ExportRequest()) -> ExportResponse()
|
||||||
import rich
|
|
||||||
|
|
||||||
from io import StringIO
|
from io import StringIO
|
||||||
from bootstraparse.modules import config, pathresolver, error_mngr, context_mngr
|
from bootstraparse.modules import config, pathresolver, error_mngr, context_mngr
|
||||||
|
|
@ -115,7 +114,6 @@ class ExportManager:
|
||||||
except KeyError:
|
except KeyError:
|
||||||
log_entries = ["bootstrap", export_request.type, export_request.subtype]
|
log_entries = ["bootstrap", export_request.type, export_request.subtype]
|
||||||
log_ = tools.dict_check(self.templates, *log_entries)
|
log_ = tools.dict_check(self.templates, *log_entries)
|
||||||
print()
|
|
||||||
error_mngr.log_exception(
|
error_mngr.log_exception(
|
||||||
KeyError(
|
KeyError(
|
||||||
f'Template "bootstrap"/{export_request.type}/{export_request.subtype} could not be found.\n' +
|
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
|
if __name__ == '__main__': # pragma: no cover
|
||||||
|
import rich
|
||||||
from bootstraparse.modules import parser
|
from bootstraparse.modules import parser
|
||||||
|
|
||||||
io_string = StringIO(
|
io_string = StringIO(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue