qvm-ls: fix printing label

This commit is contained in:
Wojtek Porczyk 2015-09-23 15:07:48 +02:00
부모 e7cba0214f
커밋 af1a6a49bd
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -409,6 +409,10 @@ class StatusColumn(Column):
# todo maxmem
Column('LABEL', width=14,
attr='label.name',
doc='Colour of the label.')
Column('GATEWAY', width=15,
attr='netvm.gateway',
doc='Network gateway.')

파일 보기

@ -131,7 +131,6 @@ class QubesVM(qubes.vm.BaseVM):
label = qubes.property('label',
setter=_setter_label,
saver=(lambda self, prop, value: 'label-{}'.format(value.index)),
ls_width=14,
doc='''Colourful label assigned to VM. This is where the colour of the
padlock is set.''')