mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-10-30 13:34:03 +00:00
- Rename Distribution.getMainArchive() to getArchive() and let it also fetch
other archives besides the main one.
* udtexceptions.py:
- Add ArchiveNotFoundException
16 lines
414 B
Python
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
|