Skip to content

Commit

Permalink
fix: broken import after modular alert code generation (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Rys authored Jul 7, 2021
1 parent 52d30a2 commit a3138ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ def gen_main_py_file(self):
template = Template(filename=template_path, lookup=tmp_lookup)

# start to render new py file
rendered_content = None
settings = None
if self._global_settings:
settings = self._global_settings["settings"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import os
import sys

from splunktaucclib.alert_actions_base import ModularAlertBase
import ${helper_name}
from ${lib_name} import ${helper_name}

class AlertActionWorker${mod_alert.short_name}(ModularAlertBase):

Expand Down

0 comments on commit a3138ec

Please sign in to comment.