mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-22 15:13:50 -06:00
Use raw strings for Python 3 compatibility in old API client code
Python 3 enforces checks on \ sequences in strings. Instead of copying over the new mix of normal and raw strings from the server side, turn those strings in the remote plugins to raw mode. Fixes: https://pagure.io/freeipa/issue/9565 Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
parent
5d3c6b761b
commit
ca6604b58b
@ -16,7 +16,7 @@ from ipapython.dnsutil import DNSName
|
||||
if six.PY3:
|
||||
unicode = str
|
||||
|
||||
__doc__ = _("""
|
||||
__doc__ = _(r"""
|
||||
Auto Membership Rule.
|
||||
|
||||
Bring clarity to the membership of hosts and users by configuring inclusive
|
||||
|
@ -16,7 +16,7 @@ from ipapython.dnsutil import DNSName
|
||||
if six.PY3:
|
||||
unicode = str
|
||||
|
||||
__doc__ = _("""
|
||||
__doc__ = _(r"""
|
||||
Groups of users
|
||||
|
||||
Manage groups of users. By default, new groups are POSIX groups. You
|
||||
|
@ -16,7 +16,7 @@ from ipapython.dnsutil import DNSName
|
||||
if six.PY3:
|
||||
unicode = str
|
||||
|
||||
__doc__ = _("""
|
||||
__doc__ = _(r"""
|
||||
Simulate use of Host-based access controls
|
||||
|
||||
HBAC rules control who can access what services on what hosts.
|
||||
|
@ -16,7 +16,7 @@ from ipapython.dnsutil import DNSName
|
||||
if six.PY3:
|
||||
unicode = str
|
||||
|
||||
__doc__ = _("""
|
||||
__doc__ = _(r"""
|
||||
Cross-realm trusts
|
||||
|
||||
Manage trust relationship between IPA and Active Directory domains.
|
||||
|
@ -16,7 +16,7 @@ from ipapython.dnsutil import DNSName
|
||||
if six.PY3:
|
||||
unicode = str
|
||||
|
||||
__doc__ = _("""
|
||||
__doc__ = _(r"""
|
||||
Auto Membership Rule.
|
||||
|
||||
Bring clarity to the membership of hosts and users by configuring inclusive
|
||||
|
@ -16,7 +16,7 @@ from ipapython.dnsutil import DNSName
|
||||
if six.PY3:
|
||||
unicode = str
|
||||
|
||||
__doc__ = _("""
|
||||
__doc__ = _(r"""
|
||||
Groups of users
|
||||
|
||||
Manage groups of users. By default, new groups are POSIX groups. You
|
||||
|
@ -16,7 +16,7 @@ from ipapython.dnsutil import DNSName
|
||||
if six.PY3:
|
||||
unicode = str
|
||||
|
||||
__doc__ = _("""
|
||||
__doc__ = _(r"""
|
||||
Cross-realm trusts
|
||||
|
||||
Manage trust relationship between IPA and Active Directory domains.
|
||||
|
Loading…
Reference in New Issue
Block a user