summaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
authorAdrian Likins <alikins@grimlock.devel.redhat.com>2007-10-08 15:38:21 -0400
committerAdrian Likins <alikins@grimlock.devel.redhat.com>2007-10-08 15:38:21 -0400
commitb0cb5b7a380c9ba1a6b2ca328f7f2f5da4a87e80 (patch)
treef4559fb74c8cbd03e4fd6b77f1790c4b6ba72f32 /func
parent8670fb9a39ec5de0b4f9c3f838d155bb8403d4b4 (diff)
downloadthird_party-func-b0cb5b7a380c9ba1a6b2ca328f7f2f5da4a87e80.tar.gz
third_party-func-b0cb5b7a380c9ba1a6b2ca328f7f2f5da4a87e80.tar.xz
third_party-func-b0cb5b7a380c9ba1a6b2ca328f7f2f5da4a87e80.zip
sort the returns of these methods just to make it purdy
Diffstat (limited to 'func')
-rwxr-xr-xfunc/minion/server.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/func/minion/server.py b/func/minion/server.py
index 39a78cb..253c06a 100755
--- a/func/minion/server.py
+++ b/func/minion/server.py
@@ -80,10 +80,14 @@ class XmlRpcInterface(object):
self.handlers["system.list_modules"] = self.list_modules
def list_modules(self):
- return self.modules.keys()
+ modules = self.modules.keys()
+ modules.sort()
+ return modules
def list_methods(self):
- return self.handlers.keys()
+ methods = self.handlers.keys()
+ methods.sort()
+ return methods
def get_dispatch_method(self, method):