Janosch Frank a90b87bf25 scripts/kvm/kvm_stat: Introduce properties for providers
As previous commit authors used a mixture of setters/getters and
direct access to class variables consolidating them the python way
improved readability.

Properties allow us to assign a value to a class variable through a
setter without the need to call the setter ourselves.

Reviewed-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Message-Id: <1452525484-32309-19-git-send-email-frankja@linux.vnet.ibm.com>
[prop.setter is new in Python 2.6, which is the earliest supported
 version. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-01-26 15:58:12 +01:00
..
2015-09-04 13:18:04 +02:00
2015-12-17 17:33:49 +01:00
2015-12-18 12:18:31 +00:00
2012-03-30 08:14:11 -05:00
2015-10-12 18:44:54 +02:00
2015-10-12 18:46:50 +02:00
2015-12-17 08:21:29 +01:00
2015-10-29 17:59:27 +00:00
2015-02-16 15:07:18 +00:00
2012-04-16 15:41:20 +02:00
2014-02-15 16:10:25 +04:00
2014-06-09 15:43:40 +02:00