From 9d4984c092f7f7b6e8f3ee20b83a9bddc9c82c38 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 13 Jan 2015 22:13:55 +0000 Subject: func: msg.py: parse out pipe for wall --- abs/core/func/PKGBUILD | 4 ++-- abs/core/func/msg.py | 4 ++-- 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) -- cgit v0.12