[Supervisor-checkins] r906 - supervisor/trunk/src/supervisor

Mike Naberezny mike at maintainable.com
Sat Oct 24 22:00:42 EDT 2009


Author: Mike Naberezny <mike at maintainable.com>
Date: Sat Oct 24 22:00:42 2009
New Revision: 906

Log:
Removed use of sorted() for compatibility with Python 2.3.

Modified:
   supervisor/trunk/src/supervisor/supervisorctl.py

Modified: supervisor/trunk/src/supervisor/supervisorctl.py
==============================================================================
--- supervisor/trunk/src/supervisor/supervisorctl.py	(original)
+++ supervisor/trunk/src/supervisor/supervisorctl.py	Sat Oct 24 22:00:42 2009
@@ -807,7 +807,9 @@
             changedict.update(dict(zip(n, [t] * len(n))))
 
         if changedict:
-            for name in sorted(changedict):
+            names = changedict.keys()
+            names.sort()
+            for name in names:
                 self.ctl.output("%s: %s" % (name, changedict[name]))
         else:
             self.ctl.output("No config updates to processes")


More information about the Supervisor-checkins mailing list