Rename lpapiwrapper.py to lpapicache.py as it describes its function better

This commit is contained in:
Michael Bienia 2009-08-04 15:40:41 +02:00
parent b3b816515e
commit 74e55c2166
4 changed files with 7 additions and 5 deletions

2
buildd
View File

@ -27,7 +27,7 @@ import sys
from optparse import OptionGroup
from optparse import OptionParser
from ubuntutools.lp.udtexceptions import SeriesNotFoundException, PackageNotFoundException
from ubuntutools.lp.lpapiwrapper import LpApiWrapper, PersonTeam
from ubuntutools.lp.lpapicache import LpApiWrapper, PersonTeam
# Usage.
usage = "%prog <srcpackage> <release> <operation>\n\n"

View File

@ -33,7 +33,7 @@ import urllib2
from optparse import OptionParser
# ubuntu-dev-tools modules.
from ubuntutools.lp.lpapiwrapper import LpApiWrapper
from ubuntutools.lp.lpapicache import LpApiWrapper
from ubuntutools.lp.udtexceptions import SeriesNotFoundException, PackageNotFoundException
if not os.path.exists("/usr/bin/dget"):

View File

@ -38,7 +38,7 @@ from time import sleep
# ubuntu-dev-tools modules.
import ubuntutools.lp.libsupport as lp_libsupport
import ubuntutools.lp.udtexceptions as udtexceptions
from ubuntutools.lp.lpapiwrapper import Launchpad, LpApiWrapper, PersonTeam
from ubuntutools.lp.lpapicache import Launchpad, LpApiWrapper, PersonTeam
# https_proxy fix
import ubuntutools.common
import ubuntutools.packages

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# lpapiwrapper.py - wrapper class around the LP API for use in the
# ubuntu-dev-tools package
# lpapicache.py - wrapper classes around the LP API implementing caching
# for usage in the ubuntu-dev-tools package
#
# Copyright © 2009 Michael Bienia <geser@ubuntu.com>
#
@ -50,6 +50,8 @@ class Launchpad(object):
return self
Launchpad = Launchpad()
# Almost deprecated, better use the specific classes like Distribution
# or PersonTeam directly
class LpApiWrapper(object):
'''
Wrapper around some common used LP API functions used in