summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2015-06-23 16:38:29 +1200
committerAndrew Bartlett <abartlet@samba.org>2015-10-29 05:08:16 +0100
commit6f93ffaf0c446cd72478317636c0dcd7e0f4f4b8 (patch)
tree17f13c9ec54e37c02b735042650169cd294d4626 /python
parentb93205ebe4cb54175642ee60e18354f7bfb4c0fd (diff)
downloadsamba-6f93ffaf0c446cd72478317636c0dcd7e0f4f4b8.tar.gz
KCC: remove NTDSConnection API methods that are never used
These are not used, and using them would not be considered Pythonic. The flags they alter are always changed directly. The similar set_modified() method IS used. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/kcc/kcc_utils.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/python/samba/kcc/kcc_utils.py b/python/samba/kcc/kcc_utils.py
index dddc487188c..1e00918210e 100644
--- a/python/samba/kcc/kcc_utils.py
+++ b/python/samba/kcc/kcc_utils.py
@@ -1096,12 +1096,6 @@ class NTDSConnection(object):
def set_modified(self, truefalse):
self.to_be_modified = truefalse
- def set_added(self, truefalse):
- self.to_be_added = truefalse
-
- def set_deleted(self, truefalse):
- self.to_be_deleted = truefalse
-
def is_schedule_minimum_once_per_week(self):
"""Returns True if our schedule includes at least one
replication interval within the week. False otherwise