Skip to content

Commit 5913883

Browse files
author
stroeder
committed
removed stand-alone module dsml
1 parent c0485fb commit 5913883

File tree

3 files changed

+0
-30
lines changed

3 files changed

+0
-30
lines changed

Doc/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Contents
3131
ldap-sasl.rst
3232
ldif.rst
3333
ldapurl.rst
34-
dsml.rst
3534
slapdtest.rst
3635

3736

Lib/ldap/async.py

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -285,31 +285,3 @@ def _processSingleResult(self,resultType,resultItem):
285285
# Search continuations are ignored
286286
dn,entry = resultItem
287287
self._ldif_writer.unparse(dn,entry)
288-
289-
290-
class DSMLWriter(FileWriter):
291-
"""
292-
Class for writing a stream LDAP search results to a DSML file
293-
294-
Arguments:
295-
296-
l
297-
LDAPObject instance
298-
writer_obj
299-
Either a file-like object or a dsml.DSMLWriter instance used for output
300-
"""
301-
302-
def __init__(self,l,writer_obj,headerStr='',footerStr=''):
303-
import dsml
304-
if isinstance(writer_obj,dsml.DSMLWriter):
305-
self._dsml_writer = writer_obj
306-
else:
307-
self._dsml_writer = dsml.DSMLWriter(writer_obj)
308-
FileWriter.__init__(self,l,self._dsml_writer._output_file,headerStr,footerStr)
309-
310-
def _processSingleResult(self,resultType,resultItem):
311-
if _entryResultTypes.has_key(resultType):
312-
# Search continuations are ignored
313-
dn,entry = resultItem
314-
self._dsml_writer.unparse(dn,entry)
315-

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ class OpenLDAP2:
145145
py_modules = [
146146
'ldapurl',
147147
'ldif',
148-
'dsml',
149148
'ldap',
150149
'slapdtest',
151150
'ldap.async',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy