From d68951ac245150eeefa6e0f4156e4c1b5c9e9325 Mon Sep 17 00:00:00 2001 From: Jan Gelety Date: Tue, 12 Nov 2019 05:27:43 +0100 Subject: Python3: resources and libraries Change-Id: I1392c06b1d64f62b141d24c0d42a8e36913b15e2 Signed-off-by: Jan Gelety --- resources/tools/presentation/environment.py | 2 +- resources/tools/presentation/generator_alerts.py | 2 +- resources/tools/presentation/input_data_parser.py | 2 +- resources/tools/presentation/specification_parser.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'resources/tools/presentation') diff --git a/resources/tools/presentation/environment.py b/resources/tools/presentation/environment.py index a2fa9a0d5b..7cddb0279c 100644 --- a/resources/tools/presentation/environment.py +++ b/resources/tools/presentation/environment.py @@ -24,7 +24,7 @@ import logging from errors import PresentationError -class Environment(object): +class Environment: """Setting of the environment: - set environment variables, - create directories. diff --git a/resources/tools/presentation/generator_alerts.py b/resources/tools/presentation/generator_alerts.py index 3f19230c0f..3a9b5ddfb6 100644 --- a/resources/tools/presentation/generator_alerts.py +++ b/resources/tools/presentation/generator_alerts.py @@ -57,7 +57,7 @@ class AlertingError(PresentationError): format(msg=self._msg, dets=self._details, level=self._level)) -class Alerting(object): +class Alerting: """Class implementing the alerting mechanism. """ diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index e512cf8c47..46c8b9d5b9 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -1059,7 +1059,7 @@ class ExecutionChecker(ResultVisitor): pass -class InputData(object): +class InputData: """Input data The data is extracted from output.xml files generated by Jenkins jobs and diff --git a/resources/tools/presentation/specification_parser.py b/resources/tools/presentation/specification_parser.py index 9852d905ba..16c69ce18c 100644 --- a/resources/tools/presentation/specification_parser.py +++ b/resources/tools/presentation/specification_parser.py @@ -26,7 +26,7 @@ from utils import get_last_successful_build_number from utils import get_last_completed_build_number -class Specification(object): +class Specification: """Specification of Presentation and analytics layer. - based on specification specified in the specification YAML file -- cgit 1.2.3-korg