pygrub: fix a typo
PATCH 1/1 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 <[email protected]>
tools/pygrub/src/GrubConf.py +1 -1
@@ -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