aboutsummaryrefslogtreecommitdiff
path: root/filter_plugins
diff options
context:
space:
mode:
Diffstat (limited to 'filter_plugins')
-rw-r--r--filter_plugins/__pycache__/forEachAppend.cpython-38.pycbin0 -> 784 bytes
-rw-r--r--filter_plugins/forEachAppend.py10
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
new file mode 100644
index 0000000..124454c
--- /dev/null
+++ b/filter_plugins/__pycache__/forEachAppend.cpython-38.pyc
Binary files differ
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 ]