diff --git a/ubuntutools/lp/lpapiwrapper.py b/ubuntutools/lp/lpapiwrapper.py index f6e4a78..dfec6bb 100644 --- a/ubuntutools/lp/lpapiwrapper.py +++ b/ubuntutools/lp/lpapiwrapper.py @@ -322,7 +322,7 @@ class Archive(BaseWrapper): ''' # Check if pocket has a valid value if pocket not in ('Release', 'Security', 'Updates', 'Proposed', 'Backports'): - raise PocketDoesNotExist("Pocket '%s' does not exist." % pocket) + raise PocketDoesNotExistException("Pocket '%s' does not exist." % pocket) dist = Distribution(self.distribution_link) # Check if series is already a DistoSeries object or not diff --git a/ubuntutools/lp/udtexceptions.py b/ubuntutools/lp/udtexceptions.py index 30b6c25..5864d09 100644 --- a/ubuntutools/lp/udtexceptions.py +++ b/ubuntutools/lp/udtexceptions.py @@ -6,7 +6,7 @@ class SeriesNotFoundException(BaseException): """ Thrown when a distroseries is not found """ pass -class PocketDoesNotExist(BaseException): +class PocketDoesNotExistException(BaseException): """ Thrown when a invalid pocket is passed """ pass