def get_name(self):
        """Returns a name of this instance"""
        try:
            docrule_name = self.doccode.get_title()
        except (KeyError, __HOLE__):
            docrule_name = 'No name given'
            pass
        return unicode(docrule_name)
dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/apps/dms_plugins/models.py/DoccodePluginMapping.get_name