diff options
Diffstat (limited to 'filter_plugins')
| -rw-r--r-- | filter_plugins/__pycache__/forEachAppend.cpython-38.pyc | bin | 0 -> 784 bytes | |||
| -rw-r--r-- | filter_plugins/forEachAppend.py | 10 |
2 files changed, 10 insertions, 0 deletions
diff --git a/filter_plugins/__pycache__/forEachAppend.cpython-38.pyc b/filter_plugins/__pycache__/forEachAppend.cpython-38.pyc Binary files differnew file mode 100644 index 0000000..124454c --- /dev/null +++ b/filter_plugins/__pycache__/forEachAppend.cpython-38.pyc diff --git a/filter_plugins/forEachAppend.py b/filter_plugins/forEachAppend.py new file mode 100644 index 0000000..b5d676d --- /dev/null +++ b/filter_plugins/forEachAppend.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python + +class FilterModule(object): + def filters(self): + return { + 'forEachAppend': self.forEachAppend, + } + + def forEachAppend(self, arr, _str): + return [ x +_str for x in arr ] |
