diff options
author | Adrian Likins <alikins@grimlock.devel.redhat.com> | 2007-10-08 15:38:21 -0400 |
---|---|---|
committer | Adrian Likins <alikins@grimlock.devel.redhat.com> | 2007-10-08 15:38:21 -0400 |
commit | b0cb5b7a380c9ba1a6b2ca328f7f2f5da4a87e80 (patch) | |
tree | f4559fb74c8cbd03e4fd6b77f1790c4b6ba72f32 /func | |
parent | 8670fb9a39ec5de0b4f9c3f838d155bb8403d4b4 (diff) | |
download | third_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-x | func/minion/server.py | 8 |
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): |