Skip to content

Commit 1ca1ab8

Browse files
author
stroeder
committed
white-space cleaning
1 parent dbe5d5e commit 1ca1ab8

File tree

6 files changed

+23
-26
lines changed

6 files changed

+23
-26
lines changed

Doc/ldap-dn.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. % $Id: ldap-dn.rst,v 1.9 2017/08/16 12:00:39 stroeder Exp $
1+
.. % $Id: ldap-dn.rst,v 1.10 2017/08/16 12:03:33 stroeder Exp $
22
33
44
:py:mod:`ldap.dn` LDAP Distinguished Name handling
@@ -75,7 +75,7 @@ The :mod:`ldap.dn` module defines the following functions:
7575

7676
.. function:: is_dn(dn[, flags=0]) -> boolean
7777

78-
This function checks whether *dn* is a valid LDAP distinguished name by
78+
This function checks whether *dn* is a valid LDAP distinguished name by
7979
passing it to function :func:`str2dn`.
8080

8181

Doc/ldap-modlist.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. % $Id: ldap-modlist.rst,v 1.5 2016/03/03 17:06:10 stroeder Exp $
1+
.. % $Id: ldap-modlist.rst,v 1.6 2017/08/16 12:03:33 stroeder Exp $
22
33
44
:py:mod:`ldap.modlist` Generate modify lists
@@ -27,17 +27,17 @@ The :mod:`ldap.modlist` module defines the following functions:
2727

2828
This function builds a list suitable for passing it directly as argument
2929
*modlist* to method :py:meth:`ldap.ldapobject.LDAPObject.modify` or
30-
its synchronous counterpart :py:meth:`ldap.ldapobject.LDAPObject.modify_s`.
31-
30+
its synchronous counterpart :py:meth:`ldap.ldapobject.LDAPObject.modify_s`.
31+
3232
Roughly when applying the resulting modify list to an entry
3333
holding the data *old_entry* it will be modified in such a way that the entry
3434
holds *new_entry* after the modify operation. It is handy in situations when it
3535
is impossible to track user changes to an entry's data or for synchronizing
3636
operations.
37-
37+
3838
*old_entry* and *new_entry* are dictionaries like returned when
3939
receiving search results.
40-
40+
4141
*ignore_attr_types* is a list of attribute type
4242
names which shall be ignored completely. These attribute types will not appear
4343
in the result at all.
@@ -53,10 +53,10 @@ The :mod:`ldap.modlist` module defines the following functions:
5353
unnecessary changes (e.g. case of attribute type names in DNs).
5454

5555
.. note::
56-
Replacing attribute values is always done with a
57-
:py:const:`ldap.MOD_DELETE`/:py:const:`ldap.MOD_ADD` pair instead of
58-
:py:const:`ldap.MOD_REPLACE` to work-around potential issues with
59-
attributes for which no EQUALITY matching rule are defined in the
60-
server's subschema. This works correctly in most situations but
61-
rarely fails with some LDAP servers implementing (schema) checks on
56+
Replacing attribute values is always done with a
57+
:py:const:`ldap.MOD_DELETE`/:py:const:`ldap.MOD_ADD` pair instead of
58+
:py:const:`ldap.MOD_REPLACE` to work-around potential issues with
59+
attributes for which no EQUALITY matching rule are defined in the
60+
server's subschema. This works correctly in most situations but
61+
rarely fails with some LDAP servers implementing (schema) checks on
6262
transient state entry during processing the modify operation.

Doc/ldap.rst

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. % $Id: ldap.rst,v 1.37 2017/08/16 11:47:11 stroeder Exp $
1+
.. % $Id: ldap.rst,v 1.38 2017/08/16 12:03:33 stroeder Exp $
22
33
********************************************
44
:py:mod:`ldap` LDAP library interface module
@@ -261,9 +261,7 @@ This constants are used for DN-parsing functions found in
261261
sub-module :py:mod:`ldap.dn`.
262262

263263
.. seealso::
264-
265-
:manpage:`ldap_str2dn{3}`
266-
264+
`ldap_str2dn(3) <https://www.openldap.org/software/man.cgi?query=ldap_str2dn&sektion=3>`_
267265

268266
.. py:data:: DN_FORMAT_LDAP
269267
@@ -569,8 +567,8 @@ LDAPObject classes
569567
Instances of :py:class:`LDAPObject` are returned by :py:func:`initialize()`
570568
and :py:func:`open()` (deprecated). The connection is automatically unbound
571569
and closed when the LDAP object is deleted.
572-
573-
Internally :py:class:`LDAPObject` is set to :py:class:`SimpleLDAPObject`
570+
571+
Internally :py:class:`LDAPObject` is set to :py:class:`SimpleLDAPObject`
574572
by default.
575573

576574
.. py:class:: SimpleLDAPObject(uri [, trace_level=0 [, trace_file=sys.stdout [, trace_stack_limit=5]]])
@@ -1012,7 +1010,6 @@ and wait for and return with the server's result, or with
10121010
:rfc:`2830` - Lightweight Directory Access Protocol (v3): Extension for Transport Layer Security
10131011

10141012

1015-
10161013
.. py:method:: LDAPObject.unbind() -> int
10171014
10181015
.. py:method:: LDAPObject.unbind_s() -> None

Doc/ldapurl.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. % $Id: ldapurl.rst,v 1.11 2017/08/16 11:24:37 stroeder Exp $
1+
.. % $Id: ldapurl.rst,v 1.12 2017/08/16 12:03:33 stroeder Exp $
22
33
###################################
44
:py:mod:`ldapurl` LDAP URL handling
@@ -65,7 +65,7 @@ LDAP URLs
6565

6666
A :py:class:`LDAPUrl` object represents a complete LDAP URL.
6767

68-
.. autoclass:: ldapurl.LDAPUrl
68+
.. autoclass:: ldapurl.LDAPUrl
6969
:members:
7070

7171

Doc/ldif.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. % $Id: ldif.rst,v 1.10 2017/08/16 11:24:37 stroeder Exp $
1+
.. % $Id: ldif.rst,v 1.11 2017/08/16 12:03:33 stroeder Exp $
22
33
#####################################
44
:mod:`ldif` LDIF parser and generator
@@ -69,7 +69,7 @@ with :mod:`ldif` module, skip some entries and write the result to stdout. ::
6969
import sys
7070
from ldif import LDIFParser,LDIFWriter
7171

72-
SKIP_DN = ["uid=foo,ou=People,dc=example,dc=com",
72+
SKIP_DN = ["uid=foo,ou=People,dc=example,dc=com",
7373
"uid=bar,ou=People,dc=example,dc=com"]
7474

7575
class MyLDIF(LDIFParser):

Doc/slapdtest.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. % $Id: slapdtest.rst,v 1.2 2017/08/16 11:25:07 stroeder Exp $
1+
.. % $Id: slapdtest.rst,v 1.3 2017/08/16 12:03:33 stroeder Exp $
22
33
#####################################
44
:mod:`slapdtest` Spawning test instances of OpenLDAP's slapd server
@@ -9,7 +9,7 @@
99
.. moduleauthor:: python-ldap project (see https://www.python-ldap.org/)
1010

1111

12-
The module is used for testing python-ldap itself but can be used for
12+
The module is used for testing python-ldap itself but can be used for
1313
automatically testing any OpenLDAP-based configuration setup.
1414

1515
This module is pure Python and does not rely on any non-standard modules.

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