[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. upstream/0.9.5.5-717-g0f98819
Sebastian Krzyszkowiak
seba.dos1 at gmail.com
Sat Aug 6 08:17:27 UTC 2011
The following commit has been merged in the debian branch:
commit 89361b249e840e7529fded40c15612c658b1dfd7
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Sat Jul 18 02:25:24 2009 +0200
oeventsd: add And function to parser
diff --git a/framework/subsystems/oeventsd/parser.py b/framework/subsystems/oeventsd/parser.py
index b135990..d6214da 100644
--- a/framework/subsystems/oeventsd/parser.py
+++ b/framework/subsystems/oeventsd/parser.py
@@ -118,6 +118,11 @@ class Or(Function):
def __call__(self, a, b):
return a | b
+class And(Function):
+ name = 'And'
+ def __call__(self, a, b):
+ return a & b
+
class HasAttr(Function):
name = 'HasAttr'
def __call__(self, name, value):
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list