qubes/vm/qubesvm: fix label setting/loading

This commit is contained in:
Wojtek Porczyk 2015-07-02 13:57:19 +02:00
parent f536935632
commit 84eb082ed2

View File

@ -115,8 +115,7 @@ class QubesVM(qubes.vm.BaseVM):
# #
label = qubes.property('label', label = qubes.property('label',
setter=(lambda self, prop, value: self.app.labels[ setter=(lambda self, prop, value: self.app.get_label(value)),
int(value.rsplit('-', 1)[1])]),
ls_width=14, ls_width=14,
doc='''Colourful label assigned to VM. This is where the colour of the doc='''Colourful label assigned to VM. This is where the colour of the
padlock is set.''') padlock is set.''')