387014f928
required for building freeipa-4.5.x in rawhide
35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
From 00172861b6908a72c41046e1b2b48d2b009127dd Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi>
|
|
Date: Wed, 22 Mar 2017 20:32:21 +0000
|
|
Subject: [PATCH 39/97] SSSDConfig: Python 3.6 invalid escape sequence
|
|
deprecation fix
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
|
|
|
|
Merges: https://pagure.io/SSSD/sssd/pull-request/3346
|
|
|
|
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
|
|
---
|
|
src/config/SSSDConfig/__init__.py.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/config/SSSDConfig/__init__.py.in b/src/config/SSSDConfig/__init__.py.in
|
|
index 03a1a43336604bb815626e64cb54052bdf87acf2..29e9b4fae6835db4ccb9937fd93457d462e4a15d 100644
|
|
--- a/src/config/SSSDConfig/__init__.py.in
|
|
+++ b/src/config/SSSDConfig/__init__.py.in
|
|
@@ -483,7 +483,7 @@ class SSSDConfigSchema(SSSDChangeConf):
|
|
self.readfp(fd)
|
|
fd.close()
|
|
# Read in the provider files
|
|
- for file in filter(lambda f: re.search('^sssd-.*\.conf$', f),
|
|
+ for file in filter(lambda f: re.search(r'^sssd-.*\.conf$', f),
|
|
os.listdir(schemaplugindir)):
|
|
fd = open(schemaplugindir+ "/" + file)
|
|
self.readfp(fd)
|
|
--
|
|
2.12.2
|
|
|