[XEND] Add missing line from changeset 11653:3b7e11cbeb940

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2006-10-10 16:02:30 +01:00
1 parent 6da43d0bd8
commit c139b7ee78
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,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":
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.