summaryrefslogtreecommitdiffstats
path: root/modules/virt.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/virt.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/virt.py')
-rwxr-xr-xmodules/virt.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/virt.py b/modules/virt.py
index 7e642cf..00eeb98 100755
--- a/modules/virt.py
+++ b/modules/virt.py
@@ -27,7 +27,7 @@ import libvirt
# our modules
import codes
-import web_svc
+import func_module
VIRT_STATE_NAME_MAP = {
0 : "running",
@@ -121,7 +121,7 @@ class FuncLibvirtConnection():
-class Virt(web_svc.WebSvc):
+class Virt(func_module.FuncModule):
def __init__(self):
@@ -142,7 +142,7 @@ class Virt(web_svc.WebSvc):
"virt_list_vms" : self.list_vms,
}
- web_svc.WebSvc.__init__(self)
+ func_module.FuncModule.__init__(self)
def get_conn(self):
self.conn = FuncLibvirtConnection()