From 46bf741e5d79725a349c2583dfbfafd907f11c5a Mon Sep 17 00:00:00 2001 From: Felipe Monteiro Date: Tue, 15 May 2018 23:07:54 -0400 Subject: [PATCH] [trivial] Remove unused KnownReleasesException This patchset simply removes the unused KnownReleasesException from the code as well as its reference in documentation. This exception was previously removed because it wasn't needed. Change-Id: Ie98227e14dd493f083a10a211ec2913af6625df3 --- armada/exceptions/armada_exceptions.py | 11 ----------- .../operations/exceptions/armada-exceptions.inc | 8 -------- 2 files changed, 19 deletions(-) diff --git a/armada/exceptions/armada_exceptions.py b/armada/exceptions/armada_exceptions.py index 544bb162..c133610f 100644 --- a/armada/exceptions/armada_exceptions.py +++ b/armada/exceptions/armada_exceptions.py @@ -27,14 +27,3 @@ class ArmadaTimeoutException(ArmadaException): def __init__(self, reason): self._message = 'Armada timed out waiting on: %s' % (reason) super(ArmadaTimeoutException, self).__init__(self._message) - - -class KnownReleasesException(ArmadaException): - ''' - Exception that occurs when no known releases are found. - - **Troubleshoot:** - *Coming Soon* - ''' - - message = 'No known releases found' diff --git a/docs/source/operations/exceptions/armada-exceptions.inc b/docs/source/operations/exceptions/armada-exceptions.inc index 0fb27120..df747f38 100644 --- a/docs/source/operations/exceptions/armada-exceptions.inc +++ b/docs/source/operations/exceptions/armada-exceptions.inc @@ -25,11 +25,3 @@ :members: :show-inheritance: :undoc-members: - - * - Exception Name - - Description - * - KnownReleasesException - - .. autoexception:: armada.exceptions.armada_exceptions.KnownReleasesException - :members: - :show-inheritance: - :undoc-members: