From 3d7657e46648bd99610339922a98cbf1baf18afd Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Tue, 1 Mar 2011 00:32:36 +0200 Subject: [PATCH] * Remove ubuntutools.lp.libsupport.get_launchpad, no longer used. --- debian/changelog | 7 ++++--- ubuntutools/lp/libsupport.py | 12 ------------ 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4ebd700..83413af 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,11 +4,12 @@ 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. (LP: #387297, #645629, #689100) - * Remove ubuntutools.lp.libsupport.translate_api_web, no longer used. - * Remove ubuntutools.lp.libsupport.approve_application, no longer used. * Use Launchpadlib.login_with() directly in scripts. + * Remove ubuntutools.lp.libsupport.approve_application, no longer used. + * Remove ubuntutools.lp.libsupport.get_launchpad, no longer used. + * Remove ubuntutools.lp.libsupport.translate_api_web, no longer used. - -- Stefano Rivera Tue, 01 Mar 2011 00:30:29 +0200 + -- Stefano Rivera Tue, 01 Mar 2011 00:31:48 +0200 ubuntu-dev-tools (0.118) unstable; urgency=low diff --git a/ubuntutools/lp/libsupport.py b/ubuntutools/lp/libsupport.py index c35899d..6155ea4 100644 --- a/ubuntutools/lp/libsupport.py +++ b/ubuntutools/lp/libsupport.py @@ -19,20 +19,8 @@ # # Modules. -import glob -import os -import sys import urllib import urlparse -import httplib2 - -from launchpadlib.launchpad import Launchpad -from launchpadlib.errors import HTTPError - -from ubuntutools.lp import (service, api_version) - -def get_launchpad(consumer, server=service, cache=None): - return Launchpad.login_with(consumer, server, cache, version=api_version) def query_to_dict(query_string): result = dict()