qubes: make 'store' property public (R/O)
It makes sense to see from what Qubes object was loaded.
This commit is contained in:
parent
c55ca8004a
commit
ad1f1738fa
@ -1224,6 +1224,9 @@ class Qubes(PropertyHolder):
|
||||
|
||||
self.events_enabled = True
|
||||
|
||||
@__builtin__.property
|
||||
def store(self):
|
||||
return self._store
|
||||
|
||||
def load(self):
|
||||
'''Open qubes.xml
|
||||
|
@ -575,8 +575,7 @@ class Backup(object):
|
||||
def backup_do(self):
|
||||
if self.passphrase is None:
|
||||
raise qubes.exc.QubesException("No passphrase set")
|
||||
# noinspection PyProtectedMember
|
||||
qubes_xml = self.app._store
|
||||
qubes_xml = self.app.store
|
||||
self.tmpdir = tempfile.mkdtemp()
|
||||
shutil.copy(qubes_xml, os.path.join(self.tmpdir, 'qubes.xml'))
|
||||
qubes_xml = os.path.join(self.tmpdir, 'qubes.xml')
|
||||
|
Loading…
Reference in New Issue
Block a user