Archived
1
0

* Removed a superfluous “boolean == True” expression.

This commit is contained in:
Christoph Anton Mitterer 2012-06-27 00:32:12 +02:00
parent bc7e5be1b2
commit f11ae00c26

View File

@ -430,7 +430,7 @@ class YumTester:
% number_security_updates
if number_other_updates != 0:
if self.warn_on_any_update == True and status != CRITICAL:
if self.warn_on_any_update and status != CRITICAL:
status = WARNING
if number_other_updates == 1:
message += ". 1 Non-Security Update Available"