summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvir.py2
-rw-r--r--libvirt-python-api.xml8
-rwxr-xr-xtests/node.py4
3 files changed, 7 insertions, 7 deletions
diff --git a/libvir.py b/libvir.py
index 34fe8f3..3a38898 100644
--- a/libvir.py
+++ b/libvir.py
@@ -85,7 +85,7 @@ class libvirtError(Exception):
def registerErrorHandler(f, ctx):
"""Register a Python written function to for error reporting.
The function is called back as f(ctx, error), with error
- being a list of informations about the error being raised.
+ being a list of information about the error being raised.
Returns 1 in case of success."""
return libvirtmod.virRegisterErrorHandler(f,ctx)
diff --git a/libvirt-python-api.xml b/libvirt-python-api.xml
index 6f64b65..3e59398 100644
--- a/libvirt-python-api.xml
+++ b/libvirt-python-api.xml
@@ -34,13 +34,13 @@
<arg name='uuid' type='const unsigned char *' info='the UUID string for the network, must be 16 bytes'/>
</function>
<function name='virDomainGetInfo' file='python'>
- <info>Extract informations about a domain. Note that if the connection used to get the domain is limited only a partial set of the informations can be extracted.</info>
- <return type='int *' info='the list of informations or None in case of error'/>
+ <info>Extract information about a domain. Note that if the connection used to get the domain is limited only a partial set of the information can be extracted.</info>
+ <return type='int *' info='the list of information or None in case of error'/>
<arg name='domain' type='virDomainPtr' info='a domain object'/>
</function>
<function name='virNodeGetInfo' file='python'>
- <info>Extract hardware informations about the Node.</info>
- <return type='int *' info='the list of informations or None in case of error'/>
+ <info>Extract hardware information about the Node.</info>
+ <return type='int *' info='the list of information or None in case of error'/>
<arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
</function>
<function name='virDomainGetUUID' file='python'>
diff --git a/tests/node.py b/tests/node.py
index 2e33fb7..f199fc3 100755
--- a/tests/node.py
+++ b/tests/node.py
@@ -15,14 +15,14 @@ if conn == None:
try:
(model, memory, cpus, mhz, nodes, socket, cores, threads) = conn.getInfo()
except:
- print 'Failed to extract the current node informations'
+ print 'Failed to extract the current node information'
sys.exit(1)
print "Xen running on %d %s processors at %d MHz, %d MBytes of memory" % (
cpus, model, mhz, memory)
if cpus > nodes * socket * cores * threads:
- print "Erroneous CPU informations"
+ print "Erroneous CPU information"
sys.exit(1)
if cpus < nodes * socket * cores * threads: