Comment 1 for bug 1193049

Revision history for this message
David Cramer (david-thingbag) wrote :

It seems that the file names are munged by the fact that slugify(value), defined in utils.py, is called on the human name.

    @property
    def human_id(self):
        """Subclasses may override this provide a pretty ID which can be used
        for bash completion.
        """
        if self.NAME_ATTR in self.__dict__ and self.HUMAN_ID:
            return utils.slugify(getattr(self, self.NAME_ATTR))
        return None

It's not clear to me why it would be desirable slugify the human id if the intent is to use it for bash completion.