mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Use restructuredText formatting for docstrings.
(This used to be commit 0cc58decd7
)
This commit is contained in:
parent
73e2fc9590
commit
c401aa9357
@ -920,3 +920,7 @@ time_t ldb_string_to_time(const char *s);
|
||||
"Register a LDB module.";
|
||||
%rename(register_module) ldb_register_module;
|
||||
ldb_int_error ldb_register_module(const struct ldb_module_ops *);
|
||||
|
||||
%pythoncode {
|
||||
__docformat__ = "restructuredText"
|
||||
}
|
||||
|
@ -471,5 +471,7 @@ def register_module(*args, **kwargs):
|
||||
Register a LDB module.
|
||||
"""
|
||||
return _ldb.register_module(*args, **kwargs)
|
||||
__docformat__ = "restructuredText"
|
||||
|
||||
|
||||
|
||||
|
@ -20,6 +20,8 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
__docformat__ = "restructuredText"
|
||||
|
||||
import os
|
||||
|
||||
def _in_source_tree():
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
"""Convenience functions for using the idmap database."""
|
||||
|
||||
__docformat__ = "restructuredText"
|
||||
|
||||
import samba
|
||||
import misc
|
||||
import ldb
|
||||
|
@ -43,6 +43,8 @@ from ldb import SCOPE_SUBTREE, SCOPE_ONELEVEL, SCOPE_BASE, LdbError, \
|
||||
|
||||
"""Functions for setting up a Samba configuration."""
|
||||
|
||||
__docformat__ = "restructuredText"
|
||||
|
||||
DEFAULTSITE = "Default-First-Site-Name"
|
||||
|
||||
class InvalidNetbiosName(Exception):
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
"""Support for reading Samba 3 data files."""
|
||||
|
||||
__docformat__ = "restructuredText"
|
||||
|
||||
REGISTRY_VALUE_PREFIX = "SAMBA_REGVAL"
|
||||
REGISTRY_DB_VERSION = 1
|
||||
|
||||
|
@ -28,6 +28,8 @@ import ldb
|
||||
from samba.idmap import IDmapDB
|
||||
import pwd
|
||||
|
||||
__docformat__ = "restructuredText"
|
||||
|
||||
class SamDB(samba.Ldb):
|
||||
"""The SAM database."""
|
||||
|
||||
|
@ -7,6 +7,8 @@
|
||||
|
||||
"""Support code for upgrading from Samba 3 to Samba 4."""
|
||||
|
||||
__docformat__ = "restructuredText"
|
||||
|
||||
from provision import findnss, provision, FILL_DRS
|
||||
import grp
|
||||
import ldb
|
||||
|
Loading…
Reference in New Issue
Block a user