|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] pygrub: fix a typo
pygrub: fix a typo that causes exceptions when looking at device
specifications that don't have a partition part (e.g. (hd0)).
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
diff -r aecf092da748 tools/pygrub/src/GrubConf.py
--- a/tools/pygrub/src/GrubConf.py Wed Jun 30 22:12:54 2010 +0100
+++ b/tools/pygrub/src/GrubConf.py Fri Jul 02 14:03:55 2010 +0100
@@ -61,7 +61,7 @@
if self.part is not None:
return "d%dp%d" %(self.disk, self.part)
else:
- return "d%d" %(self,disk,)
+ return "d%d" %(self.disk,)
def get_disk(self):
return self._disk
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] pygrub: fix a typo,
Tim Deegan <=
|
|
|
|
|