Skip to content

Commit

Permalink
Revert "Merge branch 'main' into 5.5"
Browse files Browse the repository at this point in the history
This reverts commit 9430dee, reversing
changes made to 2e2aa13.
  • Loading branch information
casperlamboo committed Oct 10, 2023
1 parent 9430dee commit 23a0932
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions UM/Settings/ContainerRegistry.py
Original file line number Diff line number Diff line change
Expand Up @@ -866,11 +866,13 @@ def _onContainerMetaDataChanged(self, *args: ContainerInterface, **kwargs: Any)
def _isMetadataValid(self, metadata: Optional[metadata_type]) -> bool:
"""Validate a metadata object.
If the metadata is invalid, the container is not allowed to be in the registry.
If the metadata is invalid, the container is not allowed to be in the
registry.
:param metadata: A metadata object.
:return: Whether this metadata was valid.
"""
return metadata is not None and "type" in metadata and "name" in metadata

return metadata is not None

def getLockFilename(self) -> str:
"""Get the lock filename including full path
Expand Down
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class UraniumConan(ConanFile):

def set_version(self):
if not self.version:
self.version = "5.6.0-alpha"
self.version = "5.5.0-beta.2"

@property
def _base_dir(self):
Expand Down

0 comments on commit 23a0932

Please sign in to comment.