ContainerError erroneously passed RunError into super() during
init() time. Fix this by passing in ContainerError().
Reported-by: LGTM
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
TJH: Fixed comment
# along with this library; if not, see <http://www.gnu.org/licenses>.
#
-from run import Run, RunError
+from run import Run
import consts
import os
class ContainerError(Exception):
def __init__(self, message, ret):
- super(RunError, self).__init__(message)
+ super(ContainerError, self).__init__(message)
def __str__(self):
out_str = 'ContainerError:\n\tmessage = {}'.format(self.message)