mirror of
				https://salsa.debian.org/freeipa-team/freeipa.git
				synced 2025-02-25 18:55:28 -06:00 
			
		
		
		
	Removes several pylint warnings.
This patche removes 93 pylint deprecation warnings due to invalid escape sequences (mostly 'invalid escape sequence \d') on unicode strings. Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
		
				
					committed by
					
						 Christian Heimes
						Christian Heimes
					
				
			
			
				
	
			
			
			
						parent
						
							bc53544c6f
						
					
				
				
					commit
					c898be1df9
				
			| @@ -390,7 +390,7 @@ class permission(baseldap.LDAPObject): | ||||
|         # memberof | ||||
|         memberof = [] | ||||
|         for targetfilter in ipapermtargetfilter: | ||||
|             match = re.match('^\(memberof=(.*)\)$', targetfilter, re.I) | ||||
|             match = re.match(r'^\(memberof=(.*)\)$', targetfilter, re.I) | ||||
|             if match: | ||||
|                 try: | ||||
|                     dn = DN(match.group(1)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user