ubuntu-dev-tools/ubuntutools/lp/udtexceptions.py
Ursula Junque (Ursinha) 6fea8fb542 Fix behavior of getBinaryPackage in lpapicache
It was using the same parameters to get Source and Binary packages build
history, but source packages need a distro series, and binary packages
need distro arch series, as the results are arch dependent.

Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-04-30 20:02:06 +02:00

24 lines
649 B
Python

class PackageNotFoundException(BaseException):
""" Thrown when a package is not found """
pass
class SeriesNotFoundException(BaseException):
""" Thrown when a distroseries is not found """
pass
class PocketDoesNotExistError(Exception):
'''Raised when a invalid pocket is used.'''
pass
class ArchiveNotFoundException(BaseException):
""" Thrown when an archive for a distibution is not found """
pass
class AlreadyLoggedInError(Exception):
'''Raised when a second login is attempted.'''
pass
class ArchSeriesNotFoundException(BaseException):
"""Thrown when a distroarchseries is not found."""
pass