Changeset View
Changeset View
Standalone View
Standalone View
sysutils/py-mqttwarn/files/patch-mqttwarn_core.py
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- mqttwarn/core.py.orig 2020-08-07 20:15:24 UTC | |||||
+++ mqttwarn/core.py | |||||
@@ -531,7 +531,7 @@ def load_services(services): | |||||
modulefile = resource_filename('mqttwarn.services', module + '.py') | |||||
try: | |||||
- service_plugins[service]['module'] = load_module(modulefile) | |||||
+ service_plugins[service]['module'] = load_module(cf.libdir + '/' + modulefile) | |||||
koobs: Is this an upstream unreleased patch or something we have done only downstream?
Comment in… | |||||
dvlAuthorUnsubmitted Done Inline ActionsOnly downstream. I'll send it upstream. dvl: Only downstream. I'll send it upstream. | |||||
logger.info('Successfully loaded service "{}"'.format(service)) | |||||
except Exception as ex: | |||||
logger.exception('Unable to load service "{}" from file "{}": {}'.format(service, modulefile, ex)) |
Is this an upstream unreleased patch or something we have done only downstream?
Comment in patch header is useful for our future selves about what this is for, and what if anything needs to be done to upstream it (where possible)