diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-08-25 22:26:43 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-08-25 22:26:43 +0200 |
commit | a756e7785f1118b04a2f4c7c182dec8740e9ef5d (patch) | |
tree | 0624df03a5445ab7a243640664e057f5c1bfc9a0 /roles/apps/collabora/code/filter_plugins/collabora_code.py | |
parent | nextcloud: fix some migration issues (diff) |
Diffstat (limited to 'roles/apps/collabora/code/filter_plugins/collabora_code.py')
-rw-r--r-- | roles/apps/collabora/code/filter_plugins/collabora_code.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/roles/apps/collabora/code/filter_plugins/collabora_code.py b/roles/apps/collabora/code/filter_plugins/collabora_code.py deleted file mode 100644 index 2bd6959e..00000000 --- a/roles/apps/collabora/code/filter_plugins/collabora_code.py +++ /dev/null @@ -1,25 +0,0 @@ -from __future__ import (absolute_import, division, print_function) -__metaclass__ = type - -from ansible import errors - - -def collabora_code_loolvcool(version): - try: - ver_maj = version.split('.')[0] - if int(ver_maj) > 6: - return False - return True - except Exception as e: - raise errors.AnsibleFilterError("collabora_code_loolvcool(): %s" % str(e)) - - -class FilterModule(object): - - ''' collabora code filters ''' - filter_map = { - 'collabora_code_loolvcool': collabora_code_loolvcool, - } - - def filters(self): - return self.filter_map |