[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xm: allow space characters in a vscsi definition.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1238672444 -3600
# Node ID 59fff20323b1fc1447bd228c1c7f5590aaead210
# Parent  567d312e80ad41454e232ed78e16bd3ad8763d07
xm: allow space characters in a vscsi definition.

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
 tools/python/xen/xm/create.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 567d312e80ad -r 59fff20323b1 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py     Thu Apr 02 12:40:09 2009 +0100
+++ b/tools/python/xen/xm/create.py     Thu Apr 02 12:40:44 2009 +0100
@@ -1081,7 +1081,7 @@ def preprocess_vscsi(vals):
     if not vals.vscsi: return
     scsi = []
     for scsi_str in vals.vscsi:
-        d = scsi_str.split(',')
+        d = [tmp.strip() for tmp in scsi_str.split(',')]
         n = len(d)
         if n == 2:
             tmp = d[1].split(':')

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.