mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
ubuntutools/lp/udtexceptions.py: - Add new public functions that expose features from LP API - Modify isLPTeamMember to use LP API * requestsync - Use new functions to check if user can upload requested package directly instead of checking team membership - Default to current development release if no release is specified on commandline * buildd - Check if user has upload privileges instead of checking for team membership when seeing if operations are permitted
12 lines
293 B
Python
12 lines
293 B
Python
class PackageNotFoundException(BaseException):
|
|
""" Thrown when a package is not found """
|
|
pass
|
|
|
|
class TeamNotFoundException(BaseException):
|
|
""" Thrown when a team is not found """
|
|
pass
|
|
|
|
class SeriesNotFoundException(BaseException):
|
|
""" Thrown when a distroseries is not found """
|
|
pass
|