pylint 2.2: Fix unnecessary pass statement

pylint 2.2.0 has a new checker for unnecessary pass statements. There is
no need to have a pass statement in functions or classes with a doc
string.

Fixes: https://pagure.io/freeipa/issue/7772
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Thomas Woerner <twoerner@redhat.com>
This commit is contained in:
Christian Heimes
2018-11-26 10:53:40 +01:00
parent 58053b2747
commit 533a5b2633
13 changed files with 3 additions and 21 deletions

View File

@@ -177,7 +177,6 @@ class BaseTaskNamespace:
"""
Migrate pam stack configuration to authselect.
"""
pass
def set_selinux_booleans(self, required_settings, backup_func=None):
"""Set the specified SELinux booleans