Skip to content

Commit cfbdd30

Browse files
committed
wip
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent a40d7f1 commit cfbdd30

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cyclonedx/validation/json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class JsonValidationError(ValidationError):
5353
@classmethod
5454
def _make_from_jsve(cls, e: 'JsonSchemaValidationError') -> 'JsonValidationError':
5555
"""⚠️ This is an internal API. It is not part of the public interface and may change without notice."""
56-
return cls(e.message) # TODO: shorten and more useful message?
56+
return cls(e.message) # TODO: shorten and more useful message? maybe there is a massage formatter?
5757

5858

5959
class _BaseJsonValidator(BaseSchemabasedValidator, ABC):

cyclonedx/validation/xml.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@
4949

5050
class XmlValidationError(ValidationError):
5151
@classmethod
52-
def _make_from_xle(cls, e: '_XmlLogEntry') -> 'XmlValidationError':
52+
def __make_from_xle(cls, e: '_XmlLogEntry') -> 'XmlValidationError':
5353
"""⚠️ This is an internal API. It is not part of the public interface and may change without notice."""
54-
return cls(e.message) # TODO: shorten and more useful message?
54+
return cls(e.message) # TODO: shorten and more useful message? maybe there is a massage formatter?
5555

5656

5757
class _BaseXmlValidator(BaseSchemabasedValidator, ABC):

0 commit comments

Comments
 (0)