def get_endpoint(server):
    if not server:  # Setting is empty, signing isn't enabled.
        return

    return u'{server}/1.0/sign_addon'.format(server=server)
See :meth:`I18n.format_timedelta`.
dataset/ETHPy150Open mozilla/addons-server/src/olympia/lib/crypto/packaged.py/get_endpoint--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/webapp2-2.3/webapp2_extras/i18n.py/format_timedelta