summaryrefslogtreecommitdiffstats
path: root/cobbler/config.py
diff options
context:
space:
mode:
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