Prefix the filter and filter_out functions so as to not stomp on the filter() already...
authorChris Larson <clarson@kergoth.com>
Thu, 16 Sep 2004 02:17:34 +0000 (02:17 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 16 Sep 2004 02:17:34 +0000 (02:17 +0000)
BKrev: 4148f7beLVbTi2sIk7g3hBbhMv1aTg

classes/base.oeclass

index 4896510..508dbd5 100644 (file)
@@ -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():