diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2008-03-14 11:08:03 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2008-03-14 11:08:03 +0000 |
commit | 8b3c382e28dfff4050f40fd018de2f4cd1ae3c77 (patch) | |
tree | dce3cccc2efe5cdbbebd8e11c892d005510b130a | |
parent | bc430178efc7ec9a767aa5db2aedfecc967b1767 (diff) | |
download | libvirt-python-v6-8b3c382e28dfff4050f40fd018de2f4cd1ae3c77.tar.gz libvirt-python-v6-8b3c382e28dfff4050f40fd018de2f4cd1ae3c77.tar.xz libvirt-python-v6-8b3c382e28dfff4050f40fd018de2f4cd1ae3c77.zip |
Fix typo "informations" -> "information" (Atsushi SAKAI and
Saori FUKUTA).
-rw-r--r-- | libvir.py | 2 | ||||
-rw-r--r-- | libvirt-python-api.xml | 8 | ||||
-rwxr-xr-x | tests/node.py | 4 |
3 files changed, 7 insertions, 7 deletions
@@ -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: |