def build_rdn(self):
        bits = []
        for field in self._meta.fields:
            if field.db_column and field.primary_key:
                bits.append("%s=%s" % (field.db_column,
                                       getattr(self, field.name)))
        if not len(bits):
            raise Exception("Could not build Distinguished Name")
        return '+'.join(bits)
git.latest
dataset/ETHPy150Open django-ldapdb/django-ldapdb/ldapdb/models/base.py/Model.build_rdn--crossover with--dataset/ETHPy150Open saltstack/salt/tests/integration/states/git.py/GitTest.test_latest_failure