mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Fix pep
This commit is contained in:
parent
a951b6f9a2
commit
e91ab96cb7
1 changed files with 2 additions and 2 deletions
|
@ -91,11 +91,11 @@ def read_ldif(file_path, filtred_entries=[]):
|
|||
from ldif import LDIFRecordList
|
||||
|
||||
class LDIFPar(LDIFRecordList):
|
||||
def handle(self,dn,entry):
|
||||
def handle(self, dn, entry):
|
||||
for e in filtred_entries:
|
||||
if e in entry:
|
||||
entry.pop(e)
|
||||
self.all_records.append((dn,entry))
|
||||
self.all_records.append((dn, entry))
|
||||
|
||||
# Open file and read content
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue