[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a
jogaulupeau
jo.gaulupeau at gmail.com
Tue Feb 28 22:22:04 UTC 2012
The following commit has been merged in the debian/master branch:
commit 78835ad588d152d7e1c678762b27b1d8f7220525
Author: jogaulupeau <jo.gaulupeau at gmail.com>
Date: Tue Feb 21 11:56:52 2012 +0100
Correction Sort bug in 'problem' view.
diff --git a/shinken/misc/sorter.py b/shinken/misc/sorter.py
index f9638fe..834ebc6 100644
--- a/shinken/misc/sorter.py
+++ b/shinken/misc/sorter.py
@@ -49,7 +49,10 @@ def hst_srv_sort(s1, s2):
return 1
# Ok, so by name...
- return s1.get_full_name() > s2.get_full_name()
+ if s1.get_full_name() > s2.get_full_name():
+ return -1
+ else:
+ return 1
--
UNNAMED PROJECT
More information about the Pkg-nagios-changes
mailing list