mirror of
https://github.com/samba-team/samba.git
synced 2025-07-15 16:59:09 +03:00
Use restructuredText formatting for docstrings.
(This used to be commit 0cc58decd7
)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user