Commit b4752945 by Michael DeHaan

Merge pull request #142 from makuk66/integration

comment typos
parents 6b500788 f936616f
...@@ -297,7 +297,7 @@ class Virt(object): ...@@ -297,7 +297,7 @@ class Virt(object):
""" """
Stop a domain, and then wipe it from the face of the earth. Stop a domain, and then wipe it from the face of the earth.
by deleting the disk image and it's configuration file. by deleting the disk image and its configuration file.
""" """
self.__get_conn() self.__get_conn()
...@@ -316,7 +316,7 @@ class Virt(object): ...@@ -316,7 +316,7 @@ class Virt(object):
def get_xml(self, vmid): def get_xml(self, vmid):
""" """
Recieve a Vm id as input Receive a Vm id as input
Return an xml describing vm config returned by a libvirt call Return an xml describing vm config returned by a libvirt call
""" """
conn = libvirt.openReadOnly(None) conn = libvirt.openReadOnly(None)
......
...@@ -68,7 +68,7 @@ def pkg_to_dict(po): ...@@ -68,7 +68,7 @@ def pkg_to_dict(po):
return d return d
def list_stuff(my, stuff): def list_stuff(my, stuff):
# FIXME - there are poitential tracebacks that could occur here # FIXME - there are potential tracebacks that could occur here
# need some more catching for them so we can see what happened # need some more catching for them so we can see what happened
if stuff == 'installed': if stuff == 'installed':
return [ pkg_to_dict(po) for po in my.rpmdb ] return [ pkg_to_dict(po) for po in my.rpmdb ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment