From: David Mulder Date: Thu, 19 Jul 2018 16:56:29 +0000 (-0600) Subject: gpo: Remove unused gp_ext.list() function X-Git-Tag: tdb-1.3.17~1415 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cef695368f587573d22b4143fc176fac2ac55b6;p=thirdparty%2Fsamba.git gpo: Remove unused gp_ext.list() function Signed-off-by: David Mulder Reviewed-by: Douglas Bagnall Reviewed-by: Aurelien Aptel --- diff --git a/python/samba/gp_sec_ext.py b/python/samba/gp_sec_ext.py index 2dc34e67863..8fd2ff55723 100644 --- a/python/samba/gp_sec_ext.py +++ b/python/samba/gp_sec_ext.py @@ -135,10 +135,6 @@ class gp_sec_ext(gp_inf_ext): def __str__(self): return "Security GPO extension" - def list(self, rootpath): - return os.path.join(rootpath, - "MACHINE/Microsoft/Windows NT/SecEdit/GptTmpl.inf") - def apply_map(self): if self.lp.get('server role') != 'active directory domain controller': return {} diff --git a/python/samba/gpclass.py b/python/samba/gpclass.py index 07b8b217084..1563db469ab 100644 --- a/python/samba/gpclass.py +++ b/python/samba/gpclass.py @@ -304,10 +304,6 @@ class gp_ext(object): self.creds = creds self.gp_db = store.get_gplog(creds.get_username()) - @abstractmethod - def list(self, rootpath): - pass - @abstractmethod def process_group_policy(self, deleted_gpo_list, changed_gpo_list): pass