These kinds of logical expressions should be simplified:

```
return True if security_enabled and security_enabled.lower() == "true" else 
False
```

to:

```
return security_enabled and security_enabled.lower() == "true"
```


[ Full content available at: https://github.com/apache/ambari/pull/2428 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

Reply via email to