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

[Xen-changelog] [xen-unstable] [XEND] Add missing line from changeset 11653:3b7e11cbeb940



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID f8ddc9abf3ef7b8b8ab3a235f096a0ccb66efcb7
# Parent  4d1af7ebf676fe95cbca1d2b7389072a75346741
[XEND] Add missing line from changeset 11653:3b7e11cbeb940
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/python/xen/util/blkif.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 4d1af7ebf676 -r f8ddc9abf3ef tools/python/xen/util/blkif.py
--- a/tools/python/xen/util/blkif.py    Tue Oct 10 13:48:34 2006 +0100
+++ b/tools/python/xen/util/blkif.py    Tue Oct 10 16:02:30 2006 +0100
@@ -64,7 +64,7 @@ def blkdev_uname_to_file(uname):
     """Take a blkdev uname and return the corresponding filename."""
     fn = None
     if uname.find(":") != -1:
-        (typ, fn) = uname.split(":")
+        (typ, fn) = uname.split(":", 1)
         if typ == "phy" and not fn.startswith("/"):
             fn = "/dev/%s" %(fn,)
         if typ == "tap":

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