':return: A string with a short printable representation of self'

def get_short_printable_repr(self):

    if (len(filter_non_printable(str(self))) <= self.MAX_PRINTABLE):
        return filter_non_printable(str(self))
    if (self.get_token() is not None):
        for (k, v) in self.items():
            for ele in v:
                if isinstance(ele, DataToken):
                    dt_str = ('%s=%s' % (filter_non_printable(ele.get_name()), filter_non_printable(ele.get_value())))
                    return ('...%s...' % dt_str[:self.MAX_PRINTABLE])
    else:
        return filter_non_printable(str(self))[:self.MAX_PRINTABLE]
