Merge branch 'CURA-6856_signed_plugins_and_packages' of github.com:Ultimaker/Cura

This commit is contained in:
Jaime van Kessel 2019-11-12 10:48:43 +01:00
commit 3da53a3a89
No known key found for this signature in database
GPG key ID: 3710727397403C91
7 changed files with 13 additions and 5 deletions

View file

@ -78,6 +78,10 @@ class MockContainer(ContainerInterface, UM.PluginObject.PluginObject):
def getAllKeys(self):
pass
# Should return false (or even throw an exception) if trust (or other verification) is invalidated.
def _trustHook(self, file_name: Optional[str]) -> bool:
return True
def setProperty(self, key, property_name, property_value, container = None, set_from_cache = False):
pass