summaryrefslogtreecommitdiffstats
path: root/cobbler/serializer.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-07-03 10:37:53 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-07-03 10:37:53 -0400
commit4b10ab1c7ce3d53c8551c5de954b4181719e2c87 (patch)
tree4e034ce6b46c63beaaf1a93ac0d3b7f5eaa013cd /cobbler/serializer.py
parentd8bb2c9c4ed991ed643eb0b44769e74b37289cec (diff)
downloadthird_party-cobbler-4b10ab1c7ce3d53c8551c5de954b4181719e2c87.tar.gz
third_party-cobbler-4b10ab1c7ce3d53c8551c5de954b4181719e2c87.tar.xz
third_party-cobbler-4b10ab1c7ce3d53c8551c5de954b4181719e2c87.zip
Fix python 2.3 sorting
Diffstat (limited to 'cobbler/serializer.py')
-rw-r--r--cobbler/serializer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/serializer.py b/cobbler/serializer.py
index d35bdb1..b1161d1 100644
--- a/cobbler/serializer.py
+++ b/cobbler/serializer.py
@@ -76,7 +76,7 @@ def deserialize(obj,topological=False):
# if the depth were 0. It will be assigned a proper depth at serialization
# time. This is a bit cleaner implementation wise than a topological sort,
# though that would make a shiny upgrade.
- datastruct.sort(cmp=__depth_cmp)
+ datastruct.sort(__depth_cmp)
obj.from_datastruct(datastruct)
return True