vmtools: fix comment typos

This commit is contained in:
Marcus Hoffmann 2018-09-12 12:56:25 +02:00
parent b0cce0b8c4
commit 1e90b6118e

View file

@ -103,7 +103,7 @@ def get_build_vm(srvdir, provider=None):
:param srvdir: path to a directory which contains a Vagrantfile
:param provider: optionally this parameter allows specifiying an
spesific vagrant provider.
specific vagrant provider.
:returns: FDroidBuildVm instance.
"""
abssrvdir = abspath(srvdir)
@ -163,7 +163,7 @@ class FDroidBuildVm():
Use the factory method `fdroidserver.vmtools.get_build_vm()` for
getting correct instances of this class.
This is intended to be a hypervisor independant, fault tolerant
This is intended to be a hypervisor independent, fault tolerant
wrapper around the vagrant functions we use.
"""
def __init__(self, srvdir):
@ -451,7 +451,7 @@ class LibvirtBuildVm(FDroidBuildVm):
try:
_check_call(['virsh', '-c', 'qemu:///system', 'snapshot-create-as', self.srvname, snapshot_name])
except subprocess.CalledProcessError as e:
raise FDroidBuildVmException("could not cerate snapshot '%s' "
raise FDroidBuildVmException("could not create snapshot '%s' "
"of libvirt vm '%s'"
% (snapshot_name, self.srvname)) from e