From 75677513dd6d1f79a0411fec942ad4968d86dd25 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 21 Sep 2007 11:38:12 -0400 Subject: Missed reboot.py when renaming web_svc to func_module. --- modules/reboot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/reboot.py') diff --git a/modules/reboot.py b/modules/reboot.py index 72f9a24..1d1dc13 100755 --- a/modules/reboot.py +++ b/modules/reboot.py @@ -9,7 +9,7 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -from modules import web_svc +from modules import func_module import subprocess @@ -19,7 +19,7 @@ class Reboot(web_svc.WebSvc): self.methods = { "reboot_reboot" : self.reboot } - web_svc.WebSvc.__init__(self) + func_module.FuncModule.__init__(self) def reboot(self, when='now', message=''): return subprocess.call(["/sbin/shutdown", '-r', when, message]) -- cgit