summaryrefslogtreecommitdiffstats
path: root/modules/service.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-09-21 20:45:08 -0400
committerMichael DeHaan <mdehaan@redhat.com>2007-09-21 20:45:08 -0400
commitc0f0adba8b5a8139e30769408c290f2d6e762189 (patch)
tree355ad5cdbb57670c8eac98f8a136a0a8bc99750e /modules/service.py
parent834683463c0212f6c27bda4a959512a2448ed591 (diff)
downloadfunc-c0f0adba8b5a8139e30769408c290f2d6e762189.tar.gz
func-c0f0adba8b5a8139e30769408c290f2d6e762189.tar.xz
func-c0f0adba8b5a8139e30769408c290f2d6e762189.zip
Remove underscores from exported function names as they are now redundant.
Diffstat (limited to 'modules/service.py')
-rwxr-xr-xmodules/service.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/service.py b/modules/service.py
index eaea16e..bbc51e1 100755
--- a/modules/service.py
+++ b/modules/service.py
@@ -25,11 +25,11 @@ class Service(func_module.FuncModule):
def __init__(self):
self.methods = {
- "service_start" : self.start,
- "service_stop" : self.stop,
- "service_restart" : self.restart,
- "service_reload" : self.reload,
- "service_status" : self.status
+ "start" : self.start,
+ "stop" : self.stop,
+ "restart" : self.restart,
+ "reload" : self.reload,
+ "status" : self.status
}
func_module.FuncModule.__init__(self)