summaryrefslogtreecommitdiffstats
path: root/cobbler/config.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-02-14 16:22:19 -0500
committerJim Meyering <jim@meyering.net>2007-02-14 16:22:19 -0500
commitb1bdd9f051d0d42e0fb1f69c7113786dfb7be3a5 (patch)
tree33e8e51de2ec414f312a5a555208a0289df70f4d /cobbler/config.py
parent412f5d5086342c2d86a3bc956077682d73bb9587 (diff)
downloadthird_party-cobbler-b1bdd9f051d0d42e0fb1f69c7113786dfb7be3a5.tar.gz
third_party-cobbler-b1bdd9f051d0d42e0fb1f69c7113786dfb7be3a5.tar.xz
third_party-cobbler-b1bdd9f051d0d42e0fb1f69c7113786dfb7be3a5.zip
Working on adding pxemenu support.
Diffstat (limited to 'cobbler/config.py')
-rw-r--r--cobbler/config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cobbler/config.py b/cobbler/config.py
index 44a7ab1..64d0287 100644
--- a/cobbler/config.py
+++ b/cobbler/config.py
@@ -49,6 +49,9 @@ class Config:
]
self.file_check()
+ def __cmp(self,a,b):
+ return cmp(a.name,b.name)
+
def distros(self):
"""
Return the definitive copy of the Distros collection