Commit Graph

162 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
4bbc7a6b1f
Cache vm.name property
It doesn't make sense to send mgmt call to _named_ VM just to ask for
its name. Use value that QubesVM object already have.
This also means we can safely access vm.name, no need to touch any
private attribute.

QubesOS/qubes-issues#853
2017-03-01 23:49:21 +01:00
Marek Marczykowski-Górecki
c298eddd16
Avoid cyclic imports
QubesOS/qubes-issues#853
2017-03-01 23:49:20 +01:00
Marek Marczykowski-Górecki
8f92250665
Fix py3k compatibility
QubesOS/qubes-issues#853
2017-03-01 23:49:20 +01:00
Marek Marczykowski-Górecki
544870f1ad
make pylint happy again 2017-03-01 23:49:20 +01:00
Marek Marczykowski-Górecki
a9eb23b0e5
travis: actually install pylint 2017-03-01 23:49:20 +01:00
Marek Marczykowski-Górecki
f2b8b849fc
travis basic configuration
No RPM/DEB building stuff yet.
2017-03-01 23:49:19 +01:00
Marek Marczykowski-Górecki
181c6c00d6
Add pylint configuration 2017-03-01 23:49:19 +01:00
Marek Marczykowski-Górecki
b4e6089cd5
make pylint happy 2017-03-01 23:49:19 +01:00
Marek Marczykowski-Górecki
745d16a879
Rename '_do_qubesd_call' to 'qubesd_call'
This method don't need to be private. Also the 'do_' prefix is
superfluous - methods typically do something.

QubesOS/qubes-issues#853
2017-03-01 23:49:19 +01:00
Marek Marczykowski-Górecki
58c940b5c0
Rename qubesmgmt.property.DEFAULT to qubesmgmt.DEFAULT
Don't shadow builtin 'property' type. We don't need to kee compatibility
with actual core3 implementation yet, so don't make the same mistake
twice.
2017-03-01 23:49:18 +01:00
Marek Marczykowski-Górecki
1fc6cceb73
Add setup.py and related files 2017-03-01 23:49:18 +01:00
Marek Marczykowski-Górecki
3a2e0b770b
Initial commit
First minimal version, with just listing VMs and handling properties.

QubesOS/qubes-issues#853
2017-03-01 23:48:53 +01:00