python: models: rename argument ldb to samdb
[pfilipensky/samba-autobuild/.git] / python / samba / domain / models / site.py
index 44643f313429ad084bdf5a1facd7d35cb06ca141..955c77e8549bd59afca4cc596d37776b5c96183e 100644 (file)
@@ -32,13 +32,13 @@ class Site(Model):
     site_object_bl = DnField("siteObjectBL", readonly=True)
 
     @staticmethod
-    def get_base_dn(ldb):
+    def get_base_dn(samdb):
         """Return the base DN for the Site model.
 
-        :param ldb: Ldb connection
+        :param samdb: SamDB connection
         :return: Dn to use for new objects
         """
-        base_dn = ldb.get_config_basedn()
+        base_dn = samdb.get_config_basedn()
         base_dn.add_child("CN=Sites")
         return base_dn