hv_*: Always return from Verify, style fixes
Change all “Verify” methods in hypervisor abstractions to explicitely return None if no problem was detected. Remove punctuation from error messages. Update docstrings with “@return” and some small mistakes. Signed-off-by:Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
Showing
- lib/hypervisor/hv_base.py 2 additions, 0 deletionslib/hypervisor/hv_base.py
- lib/hypervisor/hv_chroot.py 6 additions, 2 deletionslib/hypervisor/hv_chroot.py
- lib/hypervisor/hv_fake.py 6 additions, 2 deletionslib/hypervisor/hv_fake.py
- lib/hypervisor/hv_kvm.py 6 additions, 3 deletionslib/hypervisor/hv_kvm.py
- lib/hypervisor/hv_lxc.py 7 additions, 3 deletionslib/hypervisor/hv_lxc.py
- lib/hypervisor/hv_xen.py 4 additions, 0 deletionslib/hypervisor/hv_xen.py
Loading
Please register or sign in to comment