aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-10 16:02:30 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-10 16:02:30 +0100
commit741fad235ce073fae20aec7f38ee8e9772681f13 (patch)
treebe9ecaea264e6589c96f75e68545b5417bdb3aea
parent15a8e33ac286a6b5e9a555f118858167fe17470f (diff)
downloadxen-741fad235ce073fae20aec7f38ee8e9772681f13.tar.gz
xen-741fad235ce073fae20aec7f38ee8e9772681f13.tar.bz2
xen-741fad235ce073fae20aec7f38ee8e9772681f13.zip
[XEND] Add missing line from changeset 11653:3b7e11cbeb940
Signed-off-by: Keir Fraser <keir@xensource.com>
-rw-r--r--tools/python/xen/util/blkif.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/util/blkif.py b/tools/python/xen/util/blkif.py
index c9a9dc9e6a..8c982b7beb 100644
--- a/tools/python/xen/util/blkif.py
+++ b/tools/python/xen/util/blkif.py
@@ -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":