Skip to content

Commit

Permalink
Add sys.list_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
thatch45 committed Apr 17, 2011
1 parent 0ccedf0 commit d355c9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions salt/minion.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def __load_functions(self):
if callable(getattr(module, attr)):
functions[mod + '.' + attr] = getattr(module, attr)
functions['sys.list_functions'] = functions.keys
functions['sys.list_modules'] = list(mods)
functions['sys.doc'] = self.__get_docs
functions['sys.reload_functions'] = self.reload_functions
self.opts['logger'].info('Loaded the following functions: '\
Expand Down

0 comments on commit d355c9b

Please sign in to comment.