summaryrefslogtreecommitdiffstats
path: root/modules/service.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-21 11:26:52 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-21 11:26:52 -0400
commita4ca1866ea731b67638a65c5cb8e052f07cdbaa1 (patch)
tree15bd5b6a75472e89f9e4815ee26be312140bad1a /modules/service.py
parentc0d315b2fd35c4ca8291f9a8c7f7be7bcd1cfa89 (diff)
downloadthird_party-func-a4ca1866ea731b67638a65c5cb8e052f07cdbaa1.tar.gz
third_party-func-a4ca1866ea731b67638a65c5cb8e052f07cdbaa1.tar.xz
third_party-func-a4ca1866ea731b67638a65c5cb8e052f07cdbaa1.zip
Rename web_svc as func_module.
Diffstat (limited to 'modules/service.py')
-rwxr-xr-xmodules/service.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/service.py b/modules/service.py
index f0693b0..379689a 100755
--- a/modules/service.py
+++ b/modules/service.py
@@ -16,12 +16,12 @@
from codes import *
-from modules import web_svc
+from modules import func_module
import subprocess
import os
-class Service(web_svc.WebSvc):
+class Service(func_module.FuncModule):
def __init__(self):
self.methods = {
@@ -31,7 +31,7 @@ class Service(web_svc.WebSvc):
"service_reload" : self.reload,
"service_status" : self.status
}
- web_svc.WebSvc.__init__(self)
+ func_module.FuncModule.__init__(self)
def __command(self, service_name, command):