]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
gpo: Remove unused gp_ext.list() function
authorDavid Mulder <dmulder@suse.com>
Thu, 19 Jul 2018 16:56:29 +0000 (10:56 -0600)
committerAurélien Aptel <aaptel@samba.org>
Mon, 8 Oct 2018 16:17:15 +0000 (18:17 +0200)
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
python/samba/gp_sec_ext.py
python/samba/gpclass.py

index 2dc34e678633bb89c97d75350b7d12e187343922..8fd2ff5572391a08dd4aecea299e1df3b9a8d9b0 100644 (file)
@@ -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 {}
index 07b8b217084c777388fe15999ded834e6899129a..1563db469ab0a85e49b0c84c291d10fd39ec26b8 100644 (file)
@@ -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