Skip to content

Commit

Permalink
stateengine plugin: minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
onkelandy committed Sep 23, 2024
1 parent 86a1d4b commit eeaf0d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions stateengine/StateEngineAction.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def function(self):
def action_status(self):
return self._action_status

# Cast function for delay
# Cast function for delay and other time based attributes
# value: value to cast
@staticmethod
def __cast_seconds(value):
Expand All @@ -59,7 +59,7 @@ def __cast_seconds(value):
elif isinstance(value, float):
return int(value)
else:
raise ValueError("Can not cast delay value {0} to int!".format(value))
raise ValueError("Can not cast value {0} to int!".format(value))

# Initialize the action
# abitem: parent SeItem instance
Expand Down
2 changes: 1 addition & 1 deletion stateengine/StateEngineActions.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ def remove_action(e):
_issue_list.append(_issue)
if _action:
self.__actions[name] = _action
self._log_debug("Handle combined issuelist {}", _issue_list)
# self._log_develop("Handle combined issuelist {}", _issue_list)
return _issue_list

# noinspection PyMethodMayBeStatic
Expand Down

0 comments on commit eeaf0d1

Please sign in to comment.