summaryrefslogtreecommitdiff
path: root/python/samba/kcc
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2017-12-13 16:04:19 +1300
committerKarolin Seeger <kseeger@samba.org>2018-01-13 17:37:07 +0100
commitd3f4429cd6e8a58926753651c015e683b92995ae (patch)
treee39864809fb4310c1b010454cd91ae20d4b8f207 /python/samba/kcc
parentd3c542051fb19559c5699001da8d9da6c7e66712 (diff)
downloadsamba-d3f4429cd6e8a58926753651c015e683b92995ae.tar.gz
samba_kcc: remove unused functions
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python/samba/kcc')
-rw-r--r--python/samba/kcc/kcc_utils.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/python/samba/kcc/kcc_utils.py b/python/samba/kcc/kcc_utils.py
index 5ed02dd126a..9e6aa5f41f4 100644
--- a/python/samba/kcc/kcc_utils.py
+++ b/python/samba/kcc/kcc_utils.py
@@ -95,21 +95,6 @@ class NamingContext(object):
assert self.nc_guid is not None
- def is_schema(self):
- '''Return True if NC is schema'''
- assert self.nc_type != NCType.unknown
- return self.nc_type == NCType.schema
-
- def is_domain(self):
- '''Return True if NC is domain'''
- assert self.nc_type != NCType.unknown
- return self.nc_type == NCType.domain
-
- def is_application(self):
- '''Return True if NC is application'''
- assert self.nc_type != NCType.unknown
- return self.nc_type == NCType.application
-
def is_config(self):
'''Return True if NC is config'''
assert self.nc_type != NCType.unknown