Skip to content

Commit

Permalink
stateengine plugin: don't expand item pathes at beginning so relative…
Browse files Browse the repository at this point in the history
… item attributes are correctly assigned when using structs and se_use
  • Loading branch information
onkelandy committed Jul 25, 2024
1 parent d6f96ff commit 7aeb57b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions stateengine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,6 @@ def __init__(self, sh):
# noinspection PyMethodMayBeStatic
def parse_item(self, item):
item.expand_relativepathes('se_manual_logitem', '', '')
try:
item.expand_relativepathes('se_item_*', '', '')
except Exception:
pass
try:
item.expand_relativepathes('se_status_*', '', '')
except Exception:
pass
if self.has_iattr(item.conf, "se_manual_include") or self.has_iattr(item.conf, "se_manual_exclude"):
item._eval = "sh.stateengine_plugin_functions.manual_item_update_eval('" + item.property.path + "', caller, source)"
elif self.has_iattr(item.conf, "se_manual_invert"):
Expand Down

0 comments on commit 7aeb57b

Please sign in to comment.