summaryrefslogtreecommitdiff
path: root/classes/base.oeclass
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-09-16 02:17:34 +0000
committerChris Larson <clarson@kergoth.com>2004-09-16 02:17:34 +0000
commit8d639192b6965d9a8867af6a5249e230b164816a (patch)
treeb7affb628f990df703a7d62ca0a46fac926f5ac1 /classes/base.oeclass
parented2cfc7d82e35390bd525243d40de9ab7d3adc7e (diff)
Prefix the filter and filter_out functions so as to not stomp on the filter() already in python.
BKrev: 4148f7beLVbTi2sIk7g3hBbhMv1aTg
Diffstat (limited to 'classes/base.oeclass')
-rw-r--r--classes/base.oeclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/base.oeclass b/classes/base.oeclass
index 4896510567..508dbd5509 100644
--- a/classes/base.oeclass
+++ b/classes/base.oeclass
@@ -39,7 +39,7 @@ def base_set_filespath(path, d):
FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ], d)}"
-def filter(f, str, d):
+def oe_filter(f, str, d):
from re import match
ret = []
for w in str.split():
@@ -47,7 +47,7 @@ def filter(f, str, d):
ret += [ w ]
return " ".join(ret)
-def filter_out(f, str, d):
+def oe_filter_out(f, str, d):
from re import match
ret = []
for w in str.split():