summaryrefslogtreecommitdiffstats
path: root/cobbler/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/api.py')
-rw-r--r--cobbler/api.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cobbler/api.py b/cobbler/api.py
index 2400b64..165c3f1 100644
--- a/cobbler/api.py
+++ b/cobbler/api.py
@@ -41,6 +41,9 @@ class BootAPI:
"""
return self._config.clear()
+ def __cmp(self,a,b):
+ return cmp(a.name,b.name)
+
def systems(self):
"""
Return the current list of systems