mirror of
https://github.com/samba-team/samba.git
synced 2025-07-28 11:42:03 +03:00
gpo: abstract methods are defined in the parent class
These methods don't need redefined in the child class. Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Aurelien Aptel <aaptel@suse.com>
This commit is contained in:
committed by
Aurélien Aptel
parent
80f3f7c188
commit
f5c6bd5c84
@ -357,14 +357,6 @@ class gp_ext_setter():
|
||||
|
||||
|
||||
class gp_inf_ext(gp_ext):
|
||||
@abstractmethod
|
||||
def list(self, rootpath):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def apply_map(self):
|
||||
pass
|
||||
|
||||
def read(self, policy):
|
||||
ret = False
|
||||
inftable = self.apply_map()
|
||||
@ -398,10 +390,6 @@ class gp_inf_ext(gp_ext):
|
||||
self.gp_db.commit()
|
||||
return ret
|
||||
|
||||
@abstractmethod
|
||||
def __str__(self):
|
||||
pass
|
||||
|
||||
|
||||
''' Fetch the hostname of a writable DC '''
|
||||
|
||||
|
Reference in New Issue
Block a user