mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 15:41:09 +00:00
``` PYTHON_SCRIPTS=$(grep -l -r '^#! */usr/bin/python3$' .) black -C -l 99 . $PYTHON_SCRIPTS ``` Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
41 lines
755 B
Python
41 lines
755 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
|
|
|
|
|
|
class InvalidDistroValueError(ValueError):
|
|
"""Thrown when distro value is invalid"""
|
|
|
|
pass
|