summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Mulder <dmulder@suse.com>2018-07-19 09:48:11 -0600
committerAurélien Aptel <aaptel@samba.org>2018-10-08 18:17:14 +0200
commitf5c6bd5c843ce519170a16f885bfb0d742af6b97 (patch)
tree4a1194ac27dfcf22f40c06b325de69ec540c2eac
parent80f3f7c1889d225dcc1e7841e28e9a3f7918c99c (diff)
downloadsamba-f5c6bd5c843ce519170a16f885bfb0d742af6b97.tar.gz
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>
-rw-r--r--python/samba/gpclass.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/python/samba/gpclass.py b/python/samba/gpclass.py
index 3cf1f10dbe3..db388fa9755 100644
--- a/python/samba/gpclass.py
+++ b/python/samba/gpclass.py
@@ -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 '''