summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-21 11:38:12 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-21 11:38:12 -0400
commit75677513dd6d1f79a0411fec942ad4968d86dd25 (patch)
tree6744109bb7bd16a87690878814a96109f9359535 /modules
parent89a9dd51a62552a2e9550ec4e12b9a452762f5aa (diff)
downloadthird_party-func-75677513dd6d1f79a0411fec942ad4968d86dd25.tar.gz
third_party-func-75677513dd6d1f79a0411fec942ad4968d86dd25.tar.xz
third_party-func-75677513dd6d1f79a0411fec942ad4968d86dd25.zip
Missed reboot.py when renaming web_svc to func_module.
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/reboot.py4
1 files changed, 2 insertions, 2 deletions
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])