summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/func
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-02-26 21:45:49 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-02-26 21:45:49 (GMT)
commitc1b836f75c9c2c814a623ab50f6e2c2f4a1c23e2 (patch)
treeac8b78dda74ff5436a8002d4016d14da56a4d008 /abs/mv-core/func
parent9d768062e86e306c14979b3b19e5e96cbd357d20 (diff)
downloadlinhes_pkgbuild-c1b836f75c9c2c814a623ab50f6e2c2f4a1c23e2.zip
linhes_pkgbuild-c1b836f75c9c2c814a623ab50f6e2c2f4a1c23e2.tar.gz
linhes_pkgbuild-c1b836f75c9c2c814a623ab50f6e2c2f4a1c23e2.tar.bz2
redo pacman module for func
Diffstat (limited to 'abs/mv-core/func')
-rw-r--r--abs/mv-core/func/PKGBUILD2
-rw-r--r--abs/mv-core/func/pacman.py14
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