Update salt/state.py

Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
This commit is contained in:
David Murphy 2023-12-04 13:47:59 -07:00 committed by GitHub
parent 60a4fdb0af
commit 6884678540
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4369,9 +4369,6 @@ class BaseHighState:
else:
include = state.pop("include")
# Keep track if the state only includes includes
empty_state_dict = len(state) == 0
self._handle_extend(state, sls, saltenv, errors)
self._handle_exclude(state, sls, saltenv, errors)
self._handle_state_decls(state, sls, saltenv, errors)