On 08/06/2012 07:34 PM, Olivier Doucet wrote:
Handle node_get_cpu_stats() output change
---
classes/libvirt.php | 39 +++++++++++++++++++++++----------------
lang/en.php | 2 +-
pages/info.php | 30 ++++++++----------------------
3 files changed, 32 insertions(+), 39 deletions(-)
diff --git a/classes/libvirt.php b/classes/libvirt.php
index e8fce08..46da82b 100644
--- a/classes/libvirt.php
+++ b/classes/libvirt.php
@@ -1601,20 +1601,27 @@
$tmp = libvirt_node_get_info($this->conn);
return ($tmp) ? $tmp : $this->_set_last_error();
}
-
+
Olivier, this is returning the "trailing whitespace" error on the commit
hooks. Please avoid using trailing whitespaces... I do not manage the
server so I can't disable the hooks, the git is the same as for libvirt
(upstream project) and this is prohibiting "trailing whitespaces" and
"new lines at EOF" so please don't use it.
Thanks,
Michal
--
Michal Novotny <minovotn(a)redhat.com>, RHCE, Red Hat
Virtualization | libvirt-php bindings |
php-virt-control.org