Files
freeipa/ipaserver/plugins
Armando Neto ba954efafd Fix pylint 2.0 conditional-related violations
In order to support pylint 2.0 the following violations must be fixed:

- `chained-comparison` (R1716):
  Simplify chained comparison between the operands This message is
  emitted when pylint encounters boolean operation like
  "a < b and b < c", suggesting instead to refactor it to "a < b < c".

- `consider-using-in` (R1714):
  Consider merging these comparisons with "in" to %r To check if a
  variable is equal to one of many values,combine the values into a
  tuple and check if the variable is contained "in" it instead of
  checking for equality against each of the values.This is faster
  and less verbose.

Issue: https://pagure.io/freeipa/issue/7614

Signed-off-by: Armando Neto <abiagion@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2018-07-12 08:49:43 +02:00
..
2010-12-20 17:19:53 -05:00
2018-01-09 07:53:28 +01:00
2017-03-27 19:08:26 +02:00
2018-02-09 08:57:41 +01:00
2018-01-09 07:53:28 +01:00
2018-04-20 09:43:37 +02:00
2018-01-09 07:53:28 +01:00
2018-04-20 09:43:37 +02:00
2018-05-17 18:36:33 -04:00
2017-03-27 19:08:26 +02:00
2018-07-06 13:26:43 +02:00
2017-09-08 15:42:07 +02:00
2018-01-09 07:53:28 +01:00
2016-08-17 16:55:49 +02:00