mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-16 09:31:08 +00:00
* ubuntutools/lp/functions.py: Remove some now obsolete functions.
This commit is contained in:
parent
f60a86b68d
commit
c6a040f85f
@ -43,19 +43,6 @@ def deprecated(func):
|
|||||||
# Singleton to access LP API
|
# Singleton to access LP API
|
||||||
launchpad = Launchpad
|
launchpad = Launchpad
|
||||||
|
|
||||||
@deprecated
|
|
||||||
def ubuntuDevelopmentSeries():
|
|
||||||
""" Get the string repr of the current Ubuntu development series """
|
|
||||||
return LpApiWrapper.getUbuntuDevelopmentSeries().name
|
|
||||||
|
|
||||||
def _ubuntuSeries(name):
|
|
||||||
""" Get the LP representation of a series
|
|
||||||
|
|
||||||
returns the LP API repr of a series passed by name (e.g. 'karmic')
|
|
||||||
If the series is not found: raise SeriesNotFoundException
|
|
||||||
"""
|
|
||||||
return LpApiWrapper.getUbuntuSeries(name)
|
|
||||||
|
|
||||||
def _ubuntuSourcePackage(package, series, pocket = 'Release'):
|
def _ubuntuSourcePackage(package, series, pocket = 'Release'):
|
||||||
""" Finds an Ubuntu source package on LP
|
""" Finds an Ubuntu source package on LP
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user