mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
We have pscsi device with long scsi ids like 15:0:11:101. In this case lsscsi prints no "blank" between id and type, so the following split of the string returns wrong output. The field physical_HCTL is set to 15:0:11:101]dis. The patch replaces char "]" by "] ", so split() will return the right physical_HTCL. Signed-off-by: Lutz Dube Lutz.Dube@ts.fujitsu.com Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
The file test.py here is from the Zope project, and is Copyright (c) 2001, 2002 Zope Corporation and Contributors. This file is released under the Zope Public License, version 2.0, a copy of which is in the file ZPL-2.0.