diff options
Diffstat (limited to 'cobbler/serializer.py')
-rw-r--r-- | cobbler/serializer.py | 2 |
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 |