mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 20:30:26 -06:00
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:
1 parent
58053b2747
commit
533a5b2633
13 files changed
+3
-21
No files matched your search
@@ -224,19 +224,16 @@ KEY_RE = re.compile(
|
||||
class Pkcs12ImportIncorrectPasswordError(RuntimeError):
|
||||
""" Raised when import_pkcs12 fails because of a wrong password.
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
class Pkcs12ImportOpenError(RuntimeError):
|
||||
""" Raised when import_pkcs12 fails trying to open the file.
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
class Pkcs12ImportUnknownError(RuntimeError):
|
||||
""" Raised when import_pkcs12 fails because of an unknown error.
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
class NSSDatabase:
|
||||
|
||||
Reference in new issue
Block a user