summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-01-13 22:13:55 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-01-13 22:13:55 (GMT)
commit9d4984c092f7f7b6e8f3ee20b83a9bddc9c82c38 (patch)
tree4011a167011a0542eb38d34971e7e04f1928073e /abs
parent717a40a4814c1cf025eb6a5bd2a526522d830538 (diff)
downloadlinhes_pkgbuild-9d4984c092f7f7b6e8f3ee20b83a9bddc9c82c38.zip
linhes_pkgbuild-9d4984c092f7f7b6e8f3ee20b83a9bddc9c82c38.tar.gz
linhes_pkgbuild-9d4984c092f7f7b6e8f3ee20b83a9bddc9c82c38.tar.bz2
func: msg.py: parse out pipe for wall
Diffstat (limited to 'abs')
-rw-r--r--abs/core/func/PKGBUILD4
-rw-r--r--abs/core/func/msg.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/abs/core/func/PKGBUILD b/abs/core/func/PKGBUILD
index 26cfd7c..5ff6dd5 100644
--- a/abs/core/func/PKGBUILD
+++ b/abs/core/func/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=func
pkgver=0.25
-pkgrel=18
+pkgrel=19
pkgdesc="fedora unifed network controller"
url=""
license="gpl"
@@ -42,6 +42,6 @@ md5sums=('892252004f122c61bb58bb4607553ffe'
'32cc4d15a3083b518d9f645b656cc273'
'c30f420c01628a08061270e8502115c5'
'b02a733b7a74569e57521bc3708724a5'
- '69dd7ac7c7310cf1e9398e4e420031af'
+ '7d2a049f8f764ea46508f523152c3b5b'
'b816bdb222e646a7801b218c3a626b0e'
'7d7c8a334f6b46ae1e5e483854b93924')
diff --git a/abs/core/func/msg.py b/abs/core/func/msg.py
index 3b34a83..0940382 100644
--- a/abs/core/func/msg.py
+++ b/abs/core/func/msg.py
@@ -29,8 +29,8 @@ class msg(func_module.FuncModule):
except:
text=flags
config_section="default"
- text=flags
- cmd = sub_process.Popen("/usr/LH/bin/msg_client.py --msg \"%s\" " % text,stdout=sub_process.PIPE,shell=True)
+
+ cmd = sub_process.Popen("/usr/LH/bin/msg_client.py --msg \"%s\" " % flags,stdout=sub_process.PIPE,shell=True)
data = cmd.communicate()[0]
cmd = sub_process.Popen("/usr/bin/echo -e \"%s\" | /usr/bin/wall" % text, stdout=sub_process.PIPE,shell=True)