blob: e2e7ffcd5ce2d0f99d26f83c7c9ac3358d3e12fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Copyright (c) 2021 Matt Martz <matt@sivel.net>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# Make coding more python3-ish
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
class FilterModule:
def filters(self):
return {
'hello': lambda x: 'Hello, %s!' % x,
}
|