summaryrefslogtreecommitdiffstats
path: root/cobbler/item_distro.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-12-21 17:03:12 -0500
committerJim Meyering <jim@meyering.net>2006-12-21 17:03:12 -0500
commit3d299350d649287d8d7b82f2127e470b5a2339ee (patch)
tree890852752efb772edf2aa72453248b0f628b3a03 /cobbler/item_distro.py
parent6c1b90dbe760c3d1da69ed1f25c21eaf26240cb7 (diff)
downloadthird_party-cobbler-3d299350d649287d8d7b82f2127e470b5a2339ee.tar.gz
third_party-cobbler-3d299350d649287d8d7b82f2127e470b5a2339ee.tar.xz
third_party-cobbler-3d299350d649287d8d7b82f2127e470b5a2339ee.zip
Cobbler report commands are now sorted also.
Diffstat (limited to 'cobbler/item_distro.py')
-rw-r--r--cobbler/item_distro.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/item_distro.py b/cobbler/item_distro.py
index 2c85790..a061783 100644
--- a/cobbler/item_distro.py
+++ b/cobbler/item_distro.py
@@ -119,7 +119,7 @@ class Distro(item.Item):
'arch' : self.arch
}
- def printable(self, id):
+ def printable(self):
"""
Human-readable representation.
"""
@@ -133,7 +133,7 @@ class Distro(item.Item):
istr = "%s (NOT FOUND)" % self.initrd
elif os.path.isdir(self.initrd):
istr = "%s (FOUND BY SEARCH)" % istr
- buf = "distro %-4s : %s\n" % (id, self.name)
+ buf = "distro : %s\n" % self.name
buf = buf + "kernel : %s\n" % kstr
buf = buf + "initrd : %s\n" % istr
buf = buf + "kernel options : %s\n" % self.kernel_options