def do_reload(self, args): """ usage: reload Load a fresh copy of all modules from disk. """ Module.reload() print "Done.\n"
def do_reload(self, args): """ usage: reload Load a fresh copy of all modules from disk. """ Module.reload() self.stdout.write("Done.\n\n")
def do_module(self, args): """ module [COMMAND] (inside Mercury) Run the Mercury Module and Repository Manager. The Repository Manager handles Mercury modules and module repositories. """ ModuleManager().run(shlex.split(args, comments=True)) Module.reload()