1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

Use new style python classes.

(This used to be commit 2a39aae0ce)
This commit is contained in:
Jelmer Vernooij
2008-08-01 21:00:09 +02:00
parent fff006bd84
commit 1c94f3e95d
9 changed files with 27 additions and 12 deletions

View File

@ -53,7 +53,7 @@ class InvalidNetbiosName(Exception):
super(InvalidNetbiosName, self).__init__("The name '%r' is not a valid NetBIOS name" % name)
class ProvisionPaths:
class ProvisionPaths(object):
def __init__(self):
self.shareconf = None
self.hklm = None
@ -77,7 +77,8 @@ class ProvisionPaths:
self.fedoradsinf = None
self.fedoradspartitions = None
class ProvisionNames:
class ProvisionNames(object):
def __init__(self):
self.rootdn = None
self.domaindn = None
@ -92,7 +93,8 @@ class ProvisionNames:
self.sitename = None
self.smbconf = None
class ProvisionResult:
class ProvisionResult(object):
def __init__(self):
self.paths = None
self.domaindn = None