Fix codespell errors

This commit is contained in:
Cole Robinson 2019-07-12 16:10:39 -04:00
parent 0c223ab21f
commit a15770fbaf
3 changed files with 3 additions and 3 deletions

View File

@ -721,7 +721,7 @@ c.add_compare("--boot loader=/path/to/loader,loader_secure=yes", "boot-loader-se
c = vinst.add_category("cpuram", "--hvm --nographics --noautoconsole --nodisks --pxe") c = vinst.add_category("cpuram", "--hvm --nographics --noautoconsole --nodisks --pxe")
c.add_valid("--ram 4000000") # Ram overcommit c.add_valid("--ram 4000000") # Ram overcommit
c.add_valid("--vcpus sockets=2,threads=2") # Topology only c.add_valid("--vcpus sockets=2,threads=2") # Topology only
c.add_valid("--cpuset 1,2,3") # cpuset backcompat with no --vcpus specfied c.add_valid("--cpuset 1,2,3") # cpuset backcompat with no --vcpus specified
c.add_valid("--cpu somemodel") # Simple --cpu c.add_valid("--cpu somemodel") # Simple --cpu
c.add_valid("--noapic --noacpi") # feature backcompat c.add_valid("--noapic --noacpi") # feature backcompat
c.add_valid("--security label=foobar.label,relabel=yes") # --security implicit static c.add_valid("--security label=foobar.label,relabel=yes") # --security implicit static

View File

@ -573,7 +573,7 @@ class Installer(object):
disk.get_vol_object().delete() disk.get_vol_object().delete()
else: # pragma: no cover else: # pragma: no cover
# This case technically shouldn't happen here, but # This case technically shouldn't happen here, but
# it's here incase future assumptions change # it's here in case future assumptions change
os.unlink(disk.path) os.unlink(disk.path)
meter.end(0) meter.end(0)

View File

@ -294,7 +294,7 @@ class _Libxml2API(_XMLBase):
def __del__(self): def __del__(self):
if not hasattr(self, "_doc"): if not hasattr(self, "_doc"):
# Incase we error when parsing the doc # In case we error when parsing the doc
return return
self._doc.freeDoc() self._doc.freeDoc()
self._doc = None self._doc = None