mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-28 18:34:44 +00:00
Fix pylint's warning invalid-name.
This commit is contained in:
@@ -57,7 +57,7 @@ else:
|
||||
# FreeIPA releases.
|
||||
import re
|
||||
|
||||
class version:
|
||||
class version: # pylint: disable=invalid-name
|
||||
@staticmethod
|
||||
def parse(version_str):
|
||||
"""
|
||||
@@ -460,7 +460,7 @@ else:
|
||||
cert = load_certificate(cert.encode('utf-8'))
|
||||
return cert
|
||||
|
||||
def DN_x500_text(text):
|
||||
def DN_x500_text(text): # pylint: disable=invalid-name
|
||||
if hasattr(DN, "x500_text"):
|
||||
return DN(text).x500_text()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user