diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-11-28 14:09:30 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-11-28 17:23:28 +0100 |
commit | eb5a8e29cf362ea382da7bb9dd8c9eb175b9ebe3 (patch) | |
tree | 783d797c3203634dae90a9b6f67409c766488e76 /source4/scripting/python/samba/samba3.py | |
parent | 20516df27574ad999073b7eb9620e70833e3170d (diff) | |
download | samba-eb5a8e29cf362ea382da7bb9dd8c9eb175b9ebe3.tar.gz samba-eb5a8e29cf362ea382da7bb9dd8c9eb175b9ebe3.tar.bz2 samba-eb5a8e29cf362ea382da7bb9dd8c9eb175b9ebe3.zip |
s4-python: Some reformatting for the purpose of pydoctor.
Diffstat (limited to 'source4/scripting/python/samba/samba3.py')
-rw-r--r-- | source4/scripting/python/samba/samba3.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/source4/scripting/python/samba/samba3.py b/source4/scripting/python/samba/samba3.py index 42e9f9b335..2c323bd0b4 100644 --- a/source4/scripting/python/samba/samba3.py +++ b/source4/scripting/python/samba/samba3.py @@ -1,18 +1,16 @@ -#!/usr/bin/env python - # Unix SMB/CIFS implementation. # Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007 -# +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # @@ -67,7 +65,7 @@ class TdbDatabase(object): class Registry(TdbDatabase): """Simple read-only support for reading the Samba3 registry. - + :note: This object uses the same syntax for registry key paths as Samba 3. This particular format uses forward slashes for key path separators and abbreviations for the predefined key names. @@ -769,7 +767,7 @@ class Samba3(object): def get_policy_db(self): return PolicyDatabase(self.libdir_path("account_policy.tdb")) - + def get_registry(self): return Registry(self.libdir_path("registry.tdb")) |