diff sat/plugins/plugin_misc_merge_requests.py @ 3459:8dc26e5edcd3

plugin tickets, merge_requests: renamed "tickets" feature to "lists": this feature is more generic than only "tickets" for technical stuff, thus the name "lists" seems more appropriate.
author Goffi <goffi@goffi.org>
date Thu, 04 Feb 2021 21:05:21 +0100
parents b68346a52920
children be6d91572633
line wrap: on
line diff
--- a/sat/plugins/plugin_misc_merge_requests.py	Thu Feb 04 21:07:49 2021 +0100
+++ b/sat/plugins/plugin_misc_merge_requests.py	Thu Feb 04 21:05:21 2021 +0100
@@ -36,7 +36,7 @@
     C.PI_IMPORT_NAME: "MERGE_REQUESTS",
     C.PI_TYPE: "EXP",
     C.PI_PROTOCOLS: [],
-    C.PI_DEPENDENCIES: ["XEP-0060", "XEP-0346", "TICKETS", "TEXT_SYNTAXES"],
+    C.PI_DEPENDENCIES: ["XEP-0060", "XEP-0346", "LISTS", "TEXT_SYNTAXES"],
     C.PI_MAIN: "MergeRequests",
     C.PI_HANDLER: "no",
     C.PI_DESCRIPTION: _("""Merge requests management plugin""")
@@ -72,7 +72,7 @@
         self.namespace = self._s.getSubmittedNS(APP_NS_MERGE_REQUESTS)
         host.registerNamespace('merge_requests', self.namespace)
         self._p = self.host.plugins["XEP-0060"]
-        self._t = self.host.plugins["TICKETS"]
+        self._t = self.host.plugins["LISTS"]
         self._handlers = {}
         self._handlers_list = []  # handlers sorted by priority
         self._type_handlers = {}  # data type => handler map