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

[Xen-changelog] [xen-unstable] vscsi: Fix changeset 19310.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1236777081 0
# Node ID a4274d1e85a3de5444ed66d5fbef6eceae014d15
# Parent  658b7ca5d4ed1a49d11f6117564311573c929c2e
vscsi: Fix changeset 19310.

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

diff -r 658b7ca5d4ed -r a4274d1e85a3 tools/python/xen/util/vscsi_util.py
--- a/tools/python/xen/util/vscsi_util.py       Wed Mar 11 10:15:06 2009 +0000
+++ b/tools/python/xen/util/vscsi_util.py       Wed Mar 11 13:11:21 2009 +0000
@@ -90,7 +90,7 @@ def _vscsi_get_scsidevices_by_lsscsi(opt
 
     devices = []
 
-    for scsiinfo in os.popen('lsscsi -g %s 2>/dev/null' % option).readlines():
+    for scsiinfo in os.popen('{ lsscsi -g %s; } 2>/dev/null' % 
option).readlines():
         s = scsiinfo.split()
         hctl = s[0][1:-1]
         try:

_______________________________________________
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®.