aboutsummaryrefslogtreecommitdiffstats
path: root/example_plugins
diff options
context:
space:
mode:
authorVille Heikkinen <ville.heikkinen@nokia.com>2019-02-13 09:37:47 +0200
committerBryn M. Reeves <bmr@redhat.com>2019-03-04 16:43:27 +0000
commit96e614c13cca083ee55136f311171a1a2f4e2fc7 (patch)
tree78fe430c30511eb5a2e4ccd1dfd69c6e7ca05c46 /example_plugins
parentbc34d9b938f9cd1c53120fc8badc3dff600771d3 (diff)
downloadsos-96e614c13cca083ee55136f311171a1a2f4e2fc7.tar.gz
[policies] Fix setting the custom name_pattern
Added initialization of date variable, so that it's possible to set the custom name_pattern. Without the fix, if the name_pattern is set in the plugin to be something else than 'legacy' or 'friendly', the report generation will fail to error UnboundLocalError: local variable 'date' referenced before assignment Resolves: #1570 Signed-off-by: Ville Heikkinen <ville.heikkinen@nokia.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'example_plugins')
0 files changed, 0 insertions, 0 deletions