[Ovirt-devel] [PATCH]: Fix up handling of blank UUID's in host-browser

Chris Lalancette clalance at redhat.com
Tue Sep 2 08:38:56 UTC 2008


    Fix a small bug in the handling of blank UUID's in host-browser.
    
    Signed-off-by: Chris Lalancette <clalance at redhat.com>

diff --git a/wui/src/host-browser/host-browser.rb b/wui/src/host-browser/host-browser.rb
index 881b2ae..d800688 100755
--- a/wui/src/host-browser/host-browser.rb
+++ b/wui/src/host-browser/host-browser.rb
@@ -110,7 +110,7 @@ class HostBrowser
                 nic_info << nic
             else
 
-                raise Exception.new("ERRINFO! Excepted key=value : #{info}\n") unless info =~ /[\w]+[\s]*=[\w]/
+                raise Exception.new("ERRINFO! Expected key=value : #{info}\n") unless info =~ /[\w]+[\s]*=[\w]*/
 
                 key, value = info.split("=")
 




More information about the ovirt-devel mailing list