|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] tools/python: Remove non-ASCII characters
# HG changeset patch
# User Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
# Date 1281629181 -3600
# Node ID 774dfc178c39bd3fe2ec14b4f96e60b78391b397
# Parent c50a7139dc0d763e5147837c046e9c8faab06cf3
tools/python: Remove non-ASCII characters introduced by fffedd3d70e1.
fffedd3d70e1 introduced into tools/python/xen/util/vscsi_util.py
high-bit-set characters which appear to be UTF-8 for non-breaking
spaces. Replace them with spaces to avoid getting a Python syntax
error.
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
tools/python/xen/util/vscsi_util.py | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r c50a7139dc0d -r 774dfc178c39 tools/python/xen/util/vscsi_util.py
--- a/tools/python/xen/util/vscsi_util.py Thu Aug 12 15:53:11 2010 +0100
+++ b/tools/python/xen/util/vscsi_util.py Thu Aug 12 17:06:21 2010 +0100
@@ -97,7 +97,7 @@ def _vscsi_get_scsidevices_by_lsscsi(opt
devices = []
for scsiinfo in os.popen('{ lsscsi -g %s; } 2>/dev/null' %
option).readlines():
-Â Â Â Â Â Â Â s = scsiinfo.replace(']', '] ').split()
+ s = scsiinfo.replace(']', '] ').split()
hctl = s[0][1:-1]
try:
devname = s[-2].split('/dev/')[1]
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] tools/python: Remove non-ASCII characters introduced by fffedd3d70e1.,
Xen patchbot-unstable <=
|
|
|
|
|