def shortUUID(uuidStr):
    """Shorten an uuid string.
	"""
    uuidStr = str(uuidStr).strip()
    if len(uuidStr) == 36 and uuidStr[8] == '-' and uuidStr[13
        ] == '-' and uuidStr[18] == '-' and uuidStr[23] == '-':
        uuidStr = uuidStr[0:4] + '.' + uuidStr[-3:-1]
    return uuidStr
