openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #20855
Re: [Merge] lp:~trb143/openlp/junefixes into lp:openlp
My suggestion:
import types
__obsolete_settings__ = [
....
(u'displayTags/html_tags', u formatting_tags/html_tags', function_name)
]
And then in "remove_obsolete_settings":
if isinstance(rules, types.FunctionType):
rules() # Now, call function in Settings.py which does the migration for this particular settings
elif rules:
# Old code
--
https://code.launchpad.net/~trb143/openlp/junefixes/+merge/171319
Your team OpenLP Core is subscribed to branch lp:openlp.
References