39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
From 9430749d66a5e55bf51ccdf3bb5b8a3292508161 Mon Sep 17 00:00:00 2001
|
|
From: John Kacur <jkacur@redhat.com>
|
|
Date: Wed, 6 May 2020 02:56:46 -0400
|
|
Subject: [PATCH 07/17] rteval: rteval/__init__.py: A few style changes
|
|
suggested by pylint-3
|
|
|
|
A few style changes suggested by pylint-3
|
|
|
|
Signed-off-by: John Kacur <jkacur@redhat.com>
|
|
---
|
|
rteval/__init__.py | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/rteval/__init__.py b/rteval/__init__.py
|
|
index 5d8e5131051e..a4fd7422cbe1 100644
|
|
--- a/rteval/__init__.py
|
|
+++ b/rteval/__init__.py
|
|
@@ -125,7 +125,7 @@ class RtEval(rtevalReport):
|
|
print("rteval time remaining: %d days, %d hours, %d minutes, %d seconds" % (days, hours, minutes, r))
|
|
|
|
|
|
- def Prepare(self, onlyload = False):
|
|
+ def Prepare(self, onlyload=False):
|
|
builddir = os.path.join(self.__rtevcfg.workdir, 'rteval-build')
|
|
if not os.path.isdir(builddir): os.mkdir(builddir)
|
|
|
|
@@ -165,7 +165,7 @@ class RtEval(rtevalReport):
|
|
measure_start = None
|
|
(with_loads, run_parallel) = measure_profile.GetProfile()
|
|
self.__logger.log(Log.INFO, "Using measurement profile [loads: %s parallel: %s]" % (
|
|
- with_loads, run_parallel))
|
|
+ with_loads, run_parallel))
|
|
try:
|
|
nthreads = 0
|
|
|
|
--
|
|
2.21.3
|
|
|