ubuntu-dev-tools/ubuntutools/lp/udtexceptions.py
Michael Bienia d062a2f8a6 * lpapiwrapper.py:
- Rename Distribution.getMainArchive() to getArchive() and let it also fetch
    other archives besides the main one.
* udtexceptions.py:
  - Add ArchiveNotFoundException
2009-07-23 14:19:21 +02:00

16 lines
414 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 PocketDoesNotExist(BaseException):
""" Thrown when a invalid pocket is passed """
pass
class ArchiveNotFoundException(BaseException):
""" Thrown when an archive for a distibution is not found """
pass