diff --git a/qubes/__init__.py b/qubes/__init__.py index 5190ef9f..540bd2d5 100644 --- a/qubes/__init__.py +++ b/qubes/__init__.py @@ -912,6 +912,8 @@ class PropertyHolder(qubes.events.Emitter): :param int load_stage: Stage of loading. ''' + if self.xml is None: + return all_names = set( prop.__name__ for prop in self.property_list(load_stage)) for node in self.xml.xpath('./properties/property'):