mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
LGTM: Silence unmatchable dollar
Silence false positive "unmatchable dollar in regular expression". https://pagure.io/freeipa/issue/7344 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
This commit is contained in:
parent
6fe3228fb2
commit
cae2d99f89
@ -1303,4 +1303,8 @@ def write_certmap_conf(realm, ca_subject):
|
||||
shutil.copyfile(
|
||||
os.path.join(paths.USR_SHARE_IPA_DIR, "certmap.conf.template"),
|
||||
certmap_filename)
|
||||
installutils.update_file(certmap_filename, '$ISSUER_DN', str(ca_subject))
|
||||
installutils.update_file(
|
||||
certmap_filename,
|
||||
'$ISSUER_DN', # lgtm [py/regex/unmatchable-dollar]
|
||||
str(ca_subject)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user