style fix
This commit is contained in:
parent
39fc1beb89
commit
68dfb11155
|
@ -149,11 +149,7 @@ class Agent(BaseAuditModel):
|
|||
|
||||
@property
|
||||
def has_patches_pending(self):
|
||||
|
||||
if self.winupdates.filter(action="approve").filter(installed=False).exists():
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
return self.winupdates.filter(action="approve").filter(installed=False).exists()
|
||||
|
||||
@property
|
||||
def checks(self):
|
||||
|
|
Loading…
Reference in New Issue