Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 14, 2025
1 parent ab52d32 commit 2c85df7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nailgun/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -4891,8 +4891,8 @@ def read(self, entity=None, attrs=None, ignore=None, params=None):
# the given host, but only if it does not have Puppet proxy assigned.
if (
'Puppet' not in _feature_list(self._server_config)
or 'puppetclasses' not in attrs
and not attrs['puppet_proxy']
or ('puppetclasses' not in attrs
and not attrs['puppet_proxy'])
):
ignore.add('puppetclass')
result = super().read(entity, attrs, ignore, params)
Expand Down

0 comments on commit 2c85df7

Please sign in to comment.