Skip to content

Commit 2c85df7

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ab52d32 commit 2c85df7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nailgun/entities.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4891,8 +4891,8 @@ def read(self, entity=None, attrs=None, ignore=None, params=None):
48914891
# the given host, but only if it does not have Puppet proxy assigned.
48924892
if (
48934893
'Puppet' not in _feature_list(self._server_config)
4894-
or 'puppetclasses' not in attrs
4895-
and not attrs['puppet_proxy']
4894+
or ('puppetclasses' not in attrs
4895+
and not attrs['puppet_proxy'])
48964896
):
48974897
ignore.add('puppetclass')
48984898
result = super().read(entity, attrs, ignore, params)

0 commit comments

Comments
 (0)