From d3f4429cd6e8a58926753651c015e683b92995ae Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Wed, 13 Dec 2017 16:04:19 +1300 Subject: samba_kcc: remove unused functions Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- python/samba/kcc/kcc_utils.py | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'python/samba/kcc') 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 -- cgit v1.2.1