l.s.browser_helpers : module documentation

Part of lp.services

Helpers for examining the browser user_agent header.
Function get_user_agent_distroseries Return the DistroSeries version number from the user-agent.
Function get_plural_text Return 'singular' if 'count' is 1, 'plural' otherwise.
def get_user_agent_distroseries(user_agent_string):
Return the DistroSeries version number from the user-agent.
def get_plural_text(count, singular, plural):
Return 'singular' if 'count' is 1, 'plural' otherwise.
API Documentation for Launchpad, generated by pydoctor at 2018-08-14 00:00:04.