def __str__(self):
        '''Debug dump string output of class'''
        text = "%s:" % self.__class__.__name__
        text = text + "\n\tdsa_dnstr=%s"       % self.rep_dsa_dnstr
        text = text + "\n\tdsa_guid=%s"        % str(self.rep_dsa_guid)
        text = text + "\n\tdefault=%s"         % self.rep_default
        text = text + "\n\tro=%s"              % self.rep_ro
        text = text + "\n\tpartial=%s"         % self.rep_partial
        text = text + "\n\tpresent=%s"         % self.is_present()
        text = text + "\n\tfsmo_role_owner=%s" % self.rep_fsmo_role_owner

        for rep in self.rep_repsFrom:
            text = text + "\n%s" % rep

        return "%s\n%s" % (NamingContext.__str__(self), text)
dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/kcc_utils.py/NCReplica.__str__/original