"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "snapcraft/internal/deltas/errors.py" between
snapcraft-3.7.2.tar.gz and snapcraft-3.8.tar.gz

About: Snapcraft is a build and packaging tool that makes it easy to incorporate components from different sources and build technologies or solutions.

errors.py  (snapcraft-3.7.2):errors.py  (snapcraft-3.8)
skipping to change at line 38 skipping to change at line 38
"stderr: \n{stderr}\n" "stderr: \n{stderr}\n"
"---------" "---------"
"returncode: {returncode}" "returncode: {returncode}"
) )
class DeltaGenerationTooBigError(SnapcraftError): class DeltaGenerationTooBigError(SnapcraftError):
"""The generated delta was too large.""" """The generated delta was too large."""
fmt = "delta saving is less than {delta_min_percentage}%." fmt = "delta saving is less than {delta_min_percentage}%."
class DeltaFormatError(SnapcraftError):
"""A delta format must be set."""
fmt = "delta_format must be set in subclass!"
class DeltaFormatOptionError(SnapcraftError): class DeltaFormatOptionError(SnapcraftError):
"""A delta format option is not in the defined list.""" """A delta format option is not in the defined list."""
fmt = ( fmt = (
"delta_format must be a option in {format_options_list}.\n" "delta_format must be a option in {format_options_list}.\n"
"for now delta_format={delta_format!r}" "for now delta_format={delta_format!r}"
) )
class DeltaToolError(SnapcraftError):
"""A delta tool executable error"""
fmt = "Cannot find the executable delta tool {delta_tool!r}."
def __init__(self, **kwargs):
# if no parameter passed, use the following error message instead
if len(kwargs) == 0:
self.fmt = "delta_tool_path must be set in subclass!"
super().__init__(**kwargs)
 End of changes. 2 change blocks. 
5 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)