def truncate(self, str):
        if len(str) > 24:
            str = str[:22] + "..."
        return str
truncate(str: string) -> string
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/version_prop.py/QVersionPropOverlay.truncate