diff options
-rw-r--r-- | abs/mv-core/func/PKGBUILD | 2 | ||||
-rw-r--r-- | 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 |