@property
    def short_target(self):
        match = re.match(r'([a-z]+)://([^/]+)', self.target)
        if match is not None:
            protocol, server = match.groups()
            return '%s via %s' % (server, protocol)
        return self.target
dataset/ETHPy150Open lektor/lektor-archive/lektor/environment.py/ServerInfo.short_target/original