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

[Xen-changelog] [xen-unstable] [XEND] Minor stylistic fixes for XendBootloader.py



# HG changeset patch
# User acnt2@xxxxxxxxxxxxxxxxxxxxxxxx
# Node ID 509285182efb4598001256abd92046eada1e35dd
# Parent  6ffb8705f894a4c62db850c4c0186ea72bd20e94
[XEND] Minor stylistic fixes for XendBootloader.py

Signed-off-by: Alastair Tse <atse@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendBootloader.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 6ffb8705f894 -r 509285182efb tools/python/xen/xend/XendBootloader.py
--- a/tools/python/xen/xend/XendBootloader.py   Thu Oct 05 17:29:19 2006 +0100
+++ b/tools/python/xen/xend/XendBootloader.py   Thu Oct 05 17:29:19 2006 +0100
@@ -38,7 +38,7 @@ def bootloader(blexec, disk, quiet = 0, 
         raise VmError(msg)
 
     while True:
-        fifo = "/var/lib/xen/xenbl.%s" %(random.randint(0, 32000),)
+        fifo = "/var/lib/xen/xenbl.%s" % random.randint(0, 32000)
         if not os.path.exists(fifo):
             break
     os.mkfifo(fifo, 0600)
@@ -48,7 +48,7 @@ def bootloader(blexec, disk, quiet = 0, 
         args = [ blexec ]
         if quiet:
             args.append("-q")
-        args.append("--output=%s" %(fifo,))
+        args.append("--output=%s" % fifo)
         if blargs is not None:
             args.extend(shlex.split(blargs))
         args.append(disk)

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