"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "snapcraft/internal/meta/snap.py" between
snapcraft-3.9.4.tar.gz and snapcraft-3.9.5.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.

snap.py  (snapcraft-3.9.4):snap.py  (snapcraft-3.9.5)
skipping to change at line 168 skipping to change at line 168
"propagate experimental properties to snap.yaml " "propagate experimental properties to snap.yaml "
"that have not been validated." "that have not been validated."
) )
def _ensure_command_chain_assumption(self) -> None: def _ensure_command_chain_assumption(self) -> None:
"""Ensure command-chain is in assumes (if used).""" """Ensure command-chain is in assumes (if used)."""
if "command-chain" in self.assumes: if "command-chain" in self.assumes:
return return
for app in self.apps.values(): for app in self.apps.values():
if app.command_chain: if app.command_chain or app.prepend_command_chain:
self.assumes.add("command-chain") self.assumes.add("command-chain")
return return
@classmethod # noqa: C901 @classmethod # noqa: C901
def from_dict(cls, snap_dict: Dict[str, Any]) -> "Snap": def from_dict(cls, snap_dict: Dict[str, Any]) -> "Snap":
snap_dict = deepcopy(snap_dict) snap_dict = deepcopy(snap_dict)
snap = Snap() snap = Snap()
if "passthrough" in snap_dict: if "passthrough" in snap_dict:
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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