From c1b836f75c9c2c814a623ab50f6e2c2f4a1c23e2 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Thu, 26 Feb 2009 15:45:49 -0600
Subject: redo pacman module for func

---
 abs/mv-core/func/PKGBUILD  |  2 +-
 abs/mv-core/func/pacman.py | 14 +++++---------
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/abs/mv-core/func/PKGBUILD b/abs/mv-core/func/PKGBUILD
index 3cd4bad..178dd0d 100644
--- a/abs/mv-core/func/PKGBUILD
+++ b/abs/mv-core/func/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=func
 pkgver=0.24
-pkgrel=7
+pkgrel=8
 pkgdesc="fedora unifed network controller"
 url=""
 license="gpl"
diff --git a/abs/mv-core/func/pacman.py b/abs/mv-core/func/pacman.py
index c1d8d9d..c8f2e13 100644
--- a/abs/mv-core/func/pacman.py
+++ b/abs/mv-core/func/pacman.py
@@ -5,17 +5,15 @@
 import sub_process
 
 # our modules
-from modules import func_module
+import func_module
 
 # =================================
 
 class pacman(func_module.FuncModule):
-    def __init__(self):
-        self.methods = {
-            "update_system"    : self.update_system,
-            "pkgversion"            : self.pkgversion,
-        }
-        func_module.FuncModule.__init__(self)
+    version = "0.0.1"
+    api_version = "0.0.1"
+    description = "update the server"
+    
 
     def update_system(self,flags):
         flags.replace(";","") # prevent stupidity
@@ -36,5 +34,3 @@ class pacman(func_module.FuncModule):
         return (cmd.returncode, results)
 
 
-methods = pacman()
-register_rpc = methods.register_rpc
-- 
cgit v0.12