diff --git a/debian/changelog b/debian/changelog index ee13fb5..3d0f50a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,9 @@ ubuntu-dev-tools (0.119) UNRELEASED; urgency=low * Remove manage-credentials, and credential handling code from ubuntutools.lp.libsupport. Launchpadlib 1.9 handles this via python-keyring. + * Remove ubuntutools.lp.libsupporttranslate_api_web, no longer used. - -- Stefano Rivera Thu, 24 Feb 2011 16:28:33 +0200 + -- Stefano Rivera Thu, 24 Feb 2011 16:34:08 +0200 ubuntu-dev-tools (0.118) unstable; urgency=low diff --git a/ubuntutools/lp/libsupport.py b/ubuntutools/lp/libsupport.py index e365590..5988144 100644 --- a/ubuntutools/lp/libsupport.py +++ b/ubuntutools/lp/libsupport.py @@ -62,9 +62,6 @@ def translate_web_api(url, launchpad): query, fragment)) return url -def translate_api_web(self_url): - return self_url.replace("api.", "").replace("%s/" % (api_version), "") - LEVEL = { 0: "UNAUTHORIZED", 1: "READ_PUBLIC",